[Mono-bugs] [Bug 76309][Wis] Changed - the id() function is not supported in current xpath implementation

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 1 10:18:48 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by atsushi at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76309

--- shadow/76309	2005-10-01 10:03:50.000000000 -0400
+++ shadow/76309.tmp.9705	2005-10-01 10:18:48.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 76309
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: INVALID
+Severity: Unknown
 Priority: Wishlist
 Component: Sys.XML
 AssignedTo: atsushi at ximian.com                            
 ReportedBy: s.ros at evaluant.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -66,6 +66,26 @@
 
 How often does this happen? 
 Allways
 
 Additional Information:
 In the XML norm, the id should begin with a letter.
+
+------- Additional Comments From atsushi at ximian.com  2005-10-01 10:18 -------
+You must be doing something weird. At least the code snippet you wrote
+above can never be compiled. Please provide complete example like below:
+
+using System;
+using System.Xml;
+
+public class Test
+{
+        public static void Main ()
+        {
+                XmlDocument doc = new XmlDocument ();
+                doc.Load ("76309.xml");
+                Console.WriteLine
+(doc.SelectNodes("id('ea5cc780-5b45-47a3-9b43-e035cc75b5de')").Count);
+        }
+}
+
+This prints "1" as expected (both on Microsoft.NET and Mono).


More information about the mono-bugs mailing list