|
||||||||
|
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 |
||||||||
- [jira] [Created] (XERCESJ-1580) Out of memory while... Octavian Nadolu (JIRA)
- [jira] [Commented] (XERCESJ-1580) Out of memor... Mukul Gandhi (JIRA)
- [jira] [Commented] (XERCESJ-1580) Out of memor... Octavian Nadolu (JIRA)

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