bugDotGNU Portable.NET - Bugs: bug #7264, Some classes in XPath have wrong...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #7264: Some classes in XPath have wrong signatures for Clone()

Submitter:  Marcus Urban <mathpup>
Submitted:  Thu 15 Jan 2004 05:37:00 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 19 Jan 2004 08:50:12 AM UTC, comment #1: 

fixed in cvs

Adam Ballai <minddog>
Group Member
Thu 15 Jan 2004 05:37:00 AM UTC, 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.


Marcus Urban <mathpup>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #977:  gapi-fixup.cs added by mathpup (3KiB - text/x-c++src - Test case)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-01-19 minddog Open/ClosedOpen Closed
2004-01-15 mathpup Attached File- Added gapi-fixup.cs, #957

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code