You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FastInfoset implementation appears to fail when writing many nodes. The
error is:
Exception in thread "main" javax.xml.stream.XMLStreamException:
java.io.IOException: Integer > 1,048,576
at
com.sun.xml.fastinfoset.stax.StAXDocumentSerializer.encodeTerminationAndCurrentElement
(StAXDocumentSerializer.java:630)
at com.sun.xml.fastinfoset.stax.StAXDocumentSerializer.writeEndElement
(StAXDocumentSerializer.java:271)
The same occurs with SAX.
It is apparently because the indexing tables are blindly filled with more than
a million entries, beyond what the spec allows.
The simple but suboptimal fix is to stop inserting into the indexing tables
when they hit a million elements.
Environment
Operating System: All
Platform: All
Affected Versions
[current]
The text was updated successfully, but these errors were encountered:
The FastInfoset implementation appears to fail when writing many nodes. The
error is:
Exception in thread "main" javax.xml.stream.XMLStreamException:
java.io.IOException: Integer > 1,048,576
at
com.sun.xml.fastinfoset.stax.StAXDocumentSerializer.encodeTerminationAndCurrentElement
(StAXDocumentSerializer.java:630)
at com.sun.xml.fastinfoset.stax.StAXDocumentSerializer.writeEndElement
(StAXDocumentSerializer.java:271)
The same occurs with SAX.
It is apparently because the indexing tables are blindly filled with more than
a million entries, beyond what the spec allows.
The simple but suboptimal fix is to stop inserting into the indexing tables
when they hit a million elements.
Environment
Operating System: All
Platform: All
Affected Versions
[current]
The text was updated successfully, but these errors were encountered: