Hi, I ran into some serious performance issues with Xerces 2.12.1 Java. This obviously seems related to assertions and can be reproduced easily.
My XML file is deeply nested and has 440.000 lines when indented. When I start the validation with a random freely available XSD 1.0 (https://jats.nlm.nih.gov/extensions/bits/2.0/xsd.html), validation results are returning quite fast (1s). This might be related that my file is not valid in any case against the XSD. Anyhow, when I change the XSD version to 1.1 and insert a sample assertion (xsd:assert test="false()") in the content model for my root element, my CPU and memory are filling up quite fast, even giving me a Heap Space Error. This is strange because the assertion is only defined in the root element (it does not matter where I am placing the assertion - it is always giving Xerces a hard time). It is always the same behaviour no matter if I run it on the command line (java .... jaxp.SourceValidator -xsd11 -f -fx) or via another validation implementation that is integrating Xerces (I am using XML editor Oxygen and XML database BaseX). Should I file a JIRA bug issue? Can you confirm this behaviour? Should I send you a file zip? Thanks, Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org