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()

Submitted by:  Marcus Urban <mathpup>
Submitted on:  Thu 15 Jan 2004 05:37:00 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

fixed in cvs

Adam Ballai <minddog>
Project 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
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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 19 Jan 2004 08:50:12 AM UTCminddogOpen/ClosedOpen=>Closed
Thu 15 Jan 2004 05:37:00 AM UTCmathpupAttached File-=>Added gapi-fixup.cs, #957

Back to the top


Powered by Savane 3.1-cleanup1