AW: Java Heap Space problems with XSD 1.1 validation, asserts and large files

2021-04-06 Thread Zimmel, Daniel
). I certainly won’t be going back to 1.0 – but perhaps I will need to be more pragmatic in some edge use cases. Best, Daniel Von: Mukul Gandhi Gesendet: Samstag, 3. April 2021 11:26 An: Zimmel, Daniel Cc: j-users@xerces.apache.org Betreff: Re: Java Heap Space problems with XSD 1.1 validation

Re: Java Heap Space problems with XSD 1.1 validation, asserts and large files

2021-04-03 Thread Mukul Gandhi
On Tue, Mar 30, 2021 at 1:13 PM Zimmel, Daniel wrote: > Duplicating the tree does indeed explain a lot > I don't think that, Xerces XSD 1.1 implementation duplicates creating XML fragment trees. The main validation logic for Xerces XSD 1.1 & 1.0 implementations occurs in a streaming fashion (it

AW: Java Heap Space problems with XSD 1.1 validation, asserts and large files

2021-03-30 Thread Zimmel, Daniel
@xerces.apache.org Betreff: Re: Java Heap Space problems with XSD 1.1 validation, asserts and large files On Thu, Mar 25, 2021 at 5:13 PM Zimmel, Daniel mailto:d.zim...@esvmedien.de>> wrote: My XML file is deeply nested and has 440.000 lines when indented. I hope, you mean that, your XML file has 44

Re: Java Heap Space problems with XSD 1.1 validation, asserts and large files

2021-03-26 Thread Mukul Gandhi
On Thu, Mar 25, 2021 at 5:13 PM Zimmel, Daniel wrote: > My XML file is deeply nested and has 440.000 lines when indented. > I hope, you mean that, your XML file has 44 lines. > Anyhow, when I change the XSD version to 1.1 and insert a sample assertion > (xsd:assert test="false()") in the c

Java Heap Space problems with XSD 1.1 validation, asserts and large files

2021-03-25 Thread Zimmel, Daniel
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