Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Currently, if validation mode is full we write out the entire infoset to a byte array and then validate that at the end of parse. For large infosets, this could require a very large amount of memory.
Instead, we should create a ValidationHandler and use the new SAXInfosetOutputter to perform validation as we parse. See https://stackoverflow.com/questions/31325770/java-sax-parser-validation
Also see DAFFODIL-1749