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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Dec 26 07:56:07 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=77094

--- shadow/77094	2005-12-26 07:56:07.000000000 -0500
+++ shadow/77094.tmp.17733	2005-12-26 07:56:07.000000000 -0500
@@ -0,0 +1,28 @@
+Bug#: 77094
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+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.WriteStartElement does not reported ArgumentException for mixed/upper-case xml prefix
+
+XmlTextWriter.WriteStartElement does not throw an ArgumentException if 
+the prefix is mixed-case or upper-case xml (and the namespace is 
+not "http://www.w3.org/XML/1998/namespace"). 
+
+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.


More information about the mono-bugs mailing list