-Djdk.xml.maxOccur

This option provides limits for Java™ API for XML processing (JAXP). This option defines the maximum number of content model nodes that can be created in a grammar.

When building a grammar for a W3C XML schema, use this option to limit the number of content model nodes that can be created when the schema defines attributes that can occur multiple times.

-Djdk.xml.maxOccur=value

Where value is a positive integer. The default value is 5,000.

A value of 0 or a negative number sets no limits.

You can also set this limit by adding the following line to your jaxp.properties file:
jdk.xml.maxoccur=value
Note: The IBM XML implementation is deprecated in IBM® SDK, Java Technology Edition, Version 8 and will be replaced by the Oracle XML implementation in a future release.