[Mono-bugs] [Bug 79163][Min] Changed - Namespace handling inconsitency between mono and .Net

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 25 13:42:25 EDT 2006

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.


--- shadow/79163	2006-08-25 12:25:00.000000000 -0400
+++ shadow/79163.tmp.23782	2006-08-25 13:42:25.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79163
 Product: Mono: Class Libraries
 Version: 1.1
+OS: unknown
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
+Severity: Unknown
 Priority: Minor
 Component: Sys.XML
 AssignedTo: atsushi at ximian.com                            
 ReportedBy: david at torangan.de               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -22,6 +22,31 @@
 XPath expression. Unless the standard DOCTYPE declaration from glade is
 removed, there's a problem. In Mono all elements are in the global
 namespace while the .Net runtime puts them into a namespace
 I consider the behaviour of mono better but it creates an obstacle in
 running code developed with Mono on the .Net runtime.
+------- Additional Comments From atsushi at ximian.com  2006-08-25 13:42 -------
+Umm, what exactly is the problem you are faced? I just tried to read
+an XML instance that references the glade dtd (linked from above), and
+it did not differentiate the results between .NET and Mono.
+---- test.xml ----
+<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
+<glade-interface />
+---- test.cs ----
+using System;
+using System.Xml;
+public class Test
+        public static void Main ()
+        {
+                XmlTextReader xtr = new XmlTextReader ("test.xml");
+                while (xtr.Read ())
+                        Console.WriteLine ("{0} {1} {2}",
+                                xtr.NodeType, xtr.Name, xtr.NamespaceURI);
+        }

More information about the mono-bugs mailing list