dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #7264] Some classes in XPath have wrong signatur


From: Adam Ballai
Subject: [Pnet-developers] [bugs #7264] Some classes in XPath have wrong signatures for Clone()
Date: Mon, 19 Jan 2004 03:50:15 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031225 Firebird/0.7

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #7264] Latest Modifications:

Changes by: 
                Adam Ballai <address@hidden>
'Date: 
                Mon 01/19/04 at 08:50 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
fixed in cvs






/**************************************************************************/
[bugs #7264] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=7264>
Project: DotGNU Portable.NET
Submitted by: Marcus Urban
On: Thu 01/15/04 at 05:37

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Closed


Summary:  Some classes in XPath have wrong signatures for Clone()

Original Submission:  I was trying to help someone compile Gtk# using cscc 
instead of mcs, and I got an error in parser/gapi-fixup.cs, line 85:

XPathNodeIterator path_iter = parent_iter.Current.Clone ().Select (expr);

gapi-fixup.cs:85: called object is not a method or delegate
gapi-fixup.cs:85: called object is not a method or delegate
gapi-fixup.cs:85: incompatible types in assignment: no conversion from `invalid 
type' to `System.Xml.XPath.XPathNodeIterator'

where parent_iter is an XPathNavigator. The problem is pnetlib's version of 
XPathNavigator has the signature

public abstract Object Clone();

but the Rotor docs indicate the signature should be

public abstract XPathNavigator Clone();

I believe that a similar problem may occur with the Clone() methods in our 
XPath classes.



Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 01/19/04 at 08:50         By: minddog
fixed in cvs






File Attachments
-------------------

-------------------------------------------------------
Date: Thu 01/15/04 at 05:37  Name: gapi-fixup.cs  Size: 2KB   By: mathpup
Test case
http://savannah.gnu.org/bugs/download.php?item_id=7264&amp;item_file_id=957






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=7264>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]