[Mono-bugs] [Bug 77093][Wis] Changed - XmlTextWriter.WriteEndElement does not output ns decl. if prefix is "xml"

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 5 04:42:41 EST 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 gert.driesen at pandora.be.


--- shadow/77093	2006-01-05 00:28:51.000000000 -0500
+++ shadow/77093.tmp.21836	2006-01-05 04:42:41.000000000 -0500
@@ -26,6 +26,26 @@
 ------- Additional Comments From atsushi at ximian.com  2006-01-05 00:28 -------
 It rather looks like Microsoft bug (prefix "xml" does not require
 declaration and it should not be overwritten, so the declaration is
 totally extra, though not violating the spec). I don't think there is
 any reason not to report it to Microsoft but to treat it as if our
 implementation were buggy.
+------- Additional Comments From gert.driesen at pandora.be  2006-01-05 04:42 -------
+Atsushi, perhaps its not really a bug in either implementation:
+"The prefix xml is by definition bound to the namespace name 
+http://www.w3.org/XML/1998/namespace. It MAY, but need not, be 
+declared, and must not be bound to any other namespace name. No 
+other prefix may be bound to this namespace name."
+(from the Namespaces in XML 1.1 Recommendation)
+I you ask me, it's not a bug in MS.NET when they do declare the 
+namespace. But it's also not a bug in Mono if we do not declare it.
+It's just an implementation difference, and if it were up to me we'd 
+avoid these differences (where it somehow makes sense, and doesn't 
+introduce bugs or weird behaviour), but clearly it's not ;-)
+It would be great if you'd reconsider your decision, but if not: no 
+prob !

More information about the mono-bugs mailing list