[Mono-bugs] [Bug 77094][Nor] Changed - XmlTextWriter.WriteStartElement does not reported ArgumentException for mixed/upper-case xml prefix

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 12 00:52:07 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 atsushi at ximian.com.


--- shadow/77094	2005-12-26 07:56:07.000000000 -0500
+++ shadow/77094.tmp.24721	2006-01-12 00:52:07.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77094
 Product: Mono: Class Libraries
 Version: 1.1
 OS: All
 OS Details: 
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Normal
 Component: Sys.XML
 AssignedTo: atsushi at ximian.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -23,6 +23,13 @@
 Currently, an ArgumentException is only reported if the prefix is 
 lowercase "xml" (and the namespace does not 
 match "http://www.w3.org/XML/1998/namespace")
 I'll add a test case named "WriteStartElement_XmlPrefix_Invalid2" to 
 XmlTextWriterTests.cs that allows you to reproduce this issue.
+------- Additional Comments From atsushi at ximian.com  2006-01-12 00:52 -------
+Considering the fact that WriteStartAttribute() automatically changes
+argument namespaceURI, this is kind of silly behavior (well, but the
+most silliest part is XmlNamespaceManager which checks invalid "xml"
+prefix mapping but does not check "Xml"). Anyways it is better than
+no-check. Fixed in svn (r55414).

More information about the mono-bugs mailing list