[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.

http://bugzilla.ximian.com/show_bug.cgi?id=77241

--- 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: 
+OS Details: paldo 1.4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: j at bitron.ch               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Invalid XmlSchema error
+
+Description of Problem:
+XmlValidatingReader reports XmlSchema errors on - as it seems - valid
+documents.
+
+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)
+System.MulticastDelegate:invoke_void_object_ValidationEventArgs
+(object,System.Xml.Schema.ValidationEventArgs)
+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
+error)
+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? 
+Always.
+
+Additional Information:
+Happens with Mono 1.1.13, didn't happen with 1.1.12.1 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