[Mono-bugs] [Bug 77241][Maj] New - Invalid XmlSchema error

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jan 13 13:07:46 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 j at bitron.ch.


--- shadow/77241	2006-01-13 13:07:46.000000000 -0500
+++ shadow/77241.tmp.26110	2006-01-13 13:07:46.000000000 -0500
@@ -0,0 +1,57 @@
+Bug#: 77241
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: paldo 1.4
+Status: NEW   
+Priority: Major
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: j at bitron.ch               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Invalid XmlSchema error
+Description of Problem:
+XmlValidatingReader reports XmlSchema errors on - as it seems - valid
+Steps to reproduce the problem:
+1. Compile attached test code.
+2. Run it.
+Actual Results:
+Unhandled Exception: System.Xml.Schema.XmlSchemaException: XmlSchema error:
+Not allowed character content was found. XML  Line 3, Position 23.
+in <0x00098> System.Xml.XmlValidatingReader:OnValidationEvent
+(System.Object o, System.Xml.Schema.ValidationEventArgs e)
+in (wrapper delegate-invoke)
+in <0x000bc> Mono.Xml.Schema.XsdValidatingReader:HandleError
+(System.Xml.Schema.XmlSchemaException schemaException, Boolean isWarning)
+in <0x00093> Mono.Xml.Schema.XsdValidatingReader:HandleError (System.String
+error, System.Exception innerException, Boolean isWarning)
+in <0x00027> Mono.Xml.Schema.XsdValidatingReader:HandleError (System.String
+error, System.Exception innerException)
+in <0x0001d> Mono.Xml.Schema.XsdValidatingReader:HandleError (System.String
+in <0x0042c> Mono.Xml.Schema.XsdValidatingReader:Read ()
+in <0x002d4> System.Xml.XmlValidatingReader:Read ()
+in <0x000ef> Test:Main ()
+Expected Results:
+No exception.
+How often does this happen? 
+Additional Information:
+Happens with Mono 1.1.13, didn't happen with and many versions
+before. XML document is valid according to libxml2 2.6.23. Breaks real
+applications, not just synthetic test case.

More information about the mono-bugs mailing list