[Mono-bugs] [Bug 644931] New: XmlSchema error raised when compiling valid XSD with multiple 'any' inside a 'choice'

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 8 09:33:31 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=644931

https://bugzilla.novell.com/show_bug.cgi?id=644931#c0


           Summary: XmlSchema error raised when compiling valid XSD with
                    multiple 'any' inside a 'choice'
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: NTmatter at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=393799)
 --> (http://bugzilla.novell.com/attachment.cgi?id=393799)
Stack Trace highlighting error

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US)
AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3

When attempting to compile a schema set containing the XInclude Schema (see
http://www.w3.org/TR/xinclude/#syntax for the original listing) Mono throws the
following error:

System.Xml.Schema.XmlSchemaException: XmlSchema error: Ambiguous -any- particle
was found.

This works without issue under .NET 3.5

Reproducible: Always

Steps to Reproduce:
1. XmlSchema.Read an XSD Schema having multiple "any" nodes inside a choice
2. Add schema to a new XmlSchemaSet
3. Compile the XmlSchemaSet

Actual Results:  
Unhandled Exception: System.Xml.Schema.XmlSchemaException: XmlSchema error:
Ambiguous -any- particle was found. Related schema item SourceUri: , Line 11,
Position 8.


Expected Results:  
No error.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list