[Mono-bugs] [Bug 76865][Cri] New - xsd throws XmlSchemaException when trying to create a class or typed dataset with a label in a comment.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Nov 30 17:11:36 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 jrwren at gmail.com.

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

--- shadow/76865	2005-11-30 17:11:36.000000000 -0500
+++ shadow/76865.tmp.24103	2005-11-30 17:11:36.000000000 -0500
@@ -0,0 +1,106 @@
+Bug#: 76865
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: XSD
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: jrwren at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: xsd throws XmlSchemaException when trying to create a class or typed dataset with a label in a comment.
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+xsd throws XmlSchemaException when trying to create a class or typed
+dataset with a label in a comment.  For example the rss XSD from
+http://www.thearchitect.co.uk/schemas/rss-2_0.xsd
+
+Steps to reproduce the problem:
+1. download http://www.thearchitect.co.uk/schemas/rss-2_0.xsd
+2. run xsd rss-2_0.xsd /c or /d
+
+
+Actual Results:
+System.Xml.Schema.XmlSchemaException: XmlSchema error: Ambiguous element
+label w
+hich is contained by -any- particle with ##other value was detected: item
+Relate
+d schema item SourceUri: , Line 202, Position 5.
+in <0x00097> System.Xml.Schema.ValidationHandler:RaiseValidationEvent
+(System.Xm
+l.Schema.ValidationEventHandler handle, System.Exception innerException,
+System.
+String message, System.Xml.Schema.XmlSchemaObject xsobj, System.Object
+sender, S
+ystem.String sourceUri, XmlSeverityType severity)
+in <0x0001a> System.Xml.Schema.XmlSchemaObject:error
+(System.Xml.Schema.Validati
+onEventHandler handle, System.String message, System.Exception
+innerException, S
+ystem.Xml.Schema.XmlSchemaObject xsobj, System.Object sender)
+in <0x00022> System.Xml.Schema.XmlSchemaObject:error
+(System.Xml.Schema.Validati
+onEventHandler handle, System.String message)
+in <0x004cf>
+System.Xml.Schema.XmlSchemaElement:ValidateUniqueParticleAttributio
+n (System.Xml.Schema.XmlSchemaObjectTable qnames,
+System.Collections.ArrayList n
+sNames, System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
+schema)
+in <0x00084>
+System.Xml.Schema.XmlSchemaSequence:ValidateUniqueParticleAttributi
+on (System.Xml.Schema.XmlSchemaObjectTable qnames, System.Collections.ArrayList
+nsNames, System.Xml.Schema.ValidationEventHandler h,
+System.Xml.Schema.XmlSchema
+ schema)
+in <0x002ae> System.Xml.Schema.XmlSchemaComplexType:Validate
+(System.Xml.Schema.
+ValidationEventHandler h, System.Xml.Schema.XmlSchema schema)
+in <0x001ae> System.Xml.Schema.XmlSchemaElement:Validate
+(System.Xml.Schema.Vali
+dationEventHandler h, System.Xml.Schema.XmlSchema schema)
+in <0x000c9> System.Xml.Schema.XmlSchemaSequence:Validate
+(System.Xml.Schema.Val
+idationEventHandler h, System.Xml.Schema.XmlSchema schema)
+in <0x00027>
+System.Xml.Schema.XmlSchemaComplexType:ValidateImmediateParticle (S
+ystem.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema schema)
+in <0x000de> System.Xml.Schema.XmlSchemaComplexType:Validate
+(System.Xml.Schema.
+ValidationEventHandler h, System.Xml.Schema.XmlSchema schema)
+in <0x0059c> System.Xml.Schema.XmlSchema:Validate
+(System.Xml.Schema.ValidationE
+ventHandler handler)
+in <0x01fe0> System.Xml.Schema.XmlSchema:Compile
+(System.Xml.Schema.ValidationEv
+entHandler handler, System.Collections.Stack schemaLocationStack,
+System.Xml.Sch
+ema.XmlSchema rootSchema, System.Xml.Schema.XmlSchemaSet col,
+System.Xml.XmlReso
+lver resolver)
+in <0x0003a> System.Xml.Schema.XmlSchema:Compile
+(System.Xml.Schema.ValidationEv
+entHandler handler, System.Xml.XmlResolver resolver)
+in <0x00027> System.Xml.Schema.XmlSchema:Compile
+(System.Xml.Schema.ValidationEv
+entHandler handler)
+in <0x00647> Mono.Util.Driver:GenerateClasses ()
+in <0x00b64> Mono.Util.Driver:Run (System.String[] args)
+in <0x00053> Mono.Util.Driver:Main (System.String[] args)
+
+Expected Results:
+rss-2_0.cs output file.
+
+How often does this happen? 
+always
+
+Additional Information:
+none ;)


More information about the mono-bugs mailing list