Mukul Gandhi commented on Bug XERCESJ-1580
What's the objective of your use case?

The following XSD document (which from my surface analysis, seems to solve a use case similar to yours) when validating the same instance document posted by you, doesn't give me an "Out of memory" exception,

<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema&#39; >
    
    <xsd:complexType name='fooType' >
        <xsd:all>
             <xsd:element name='a' maxOccurs="10000000"/>
             <xsd:element name="b" maxOccurs="10000000"/>
        </xsd:all>
    </xsd:complexType>
    
    <xsd:element name="doc" type="fooType"/>

</xsd:schema>


Perhaps by modeling an XSD schema little differently, your use case can be solved without "Out of memory" issue.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

Reply via email to