[Mono-bugs] [Bug 513021] New: XmlSchema.Compile Exception: Invalid complex content extension was found

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 14 06:28:38 EDT 2009


           Summary: XmlSchema.Compile Exception: Invalid complex content
                    extension was found
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: i686
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: chengh at newlido.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; CIBA; .NET CLR
2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; GreenBrowser)

When XmlSchemaSet validate a complexType base on another complexType, raise
System.Xml.Schema.XmlSchemaException: Invalid complex content extension was
found. The schema like this:
<complexType name="linkType">
<restriction base="xl:extendedType">
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="xl:title"/>
<element ref="xl:documentation"/>
<element ref="link:loc"/>
<element ref="gen:arc"/>
<element ref="xl:resource"/>
<anyAttribute namespace="http://www.w3.org/XML/1998/namespace"
<complexType name="linkTypeWithOpenAttrs">
<extension base="gen:linkType">
<anyAttribute namespace="##other"/>

Reproducible: Always

Steps to Reproduce:
XmlSchemaSet schemaSet = new XmlSchemaSet();
schemaSet.Add(null, @"http://xbrl.org/2008/generic-link.xsd");

Expected Results:  
Succeed. No Exception

Configure bugmail: http://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