[Mono-bugs] [Bug 77088][Nor] New - XmlTextWriter does not output
namespaces in same order as MS.NET
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Dec 23 13:51:41 EST 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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=77088
--- shadow/77088 2005-12-23 13:51:41.000000000 -0500
+++ shadow/77088.tmp.1807 2005-12-23 13:51:41.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 77088
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: XmlTextWriter does not output namespaces in same order as MS.NET
+
+Apparently Mono's XmlTextWriter does not output namespace declarations in
+the same order as MS.NET.
+
+MS.NET (both 1.x and 2.0) seem to output the last "registered" namespace
+first, while Mono outputs them in reverse order (starting from first
+namespace).
+
+I know you can definitely consider this as an implementation difference,
+but the more we keep both implementations in sync, the easier it is to
+write test cases and the easier it is to catch regressions or changes in
+behaviour for both implementations.
+
+I've added a test case named "AutoCreatePrefixes" (marked NotWorking) to
+XmlTextWriterTests.cs that allows you to reproduce this issue.
+
+Let me know if you want me to split up this test case (as it actually is
+a repro for three bugs).
More information about the mono-bugs
mailing list