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
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Discussion

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>

 

Attached Files

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

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

History

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.16-1e6f.
Corresponding source code