Re: Avoid startup overhead by saving compiled large XSD for Xerces-J validation

2022-05-06 Thread Mike Beckerle
Created https://issues.apache.org/jira/browse/XERCESJ-1745 On Fri, May 6, 2022 at 1:53 AM Mukul Gandhi wrote: > Hi Mike, > Answering this question (my personal opinions), while 2.12.3 > release discussion is in progress in another thread :) > > On Thu, May 5, 2022 at 2:09 AM Mike Beckerle w

Re: Avoid startup overhead by saving compiled large XSD for Xerces-J validation

2022-05-05 Thread Mukul Gandhi
Hi Mike, Answering this question (my personal opinions), while 2.12.3 release discussion is in progress in another thread :) On Thu, May 5, 2022 at 2:09 AM Mike Beckerle wrote: > I imagine that to validate XML, Xerces does something akin to "compiling" the > XSD into lower-level data structu

Avoid startup overhead by saving compiled large XSD for Xerces-J validation

2022-05-04 Thread Mike Beckerle
(Apologies in advance if this is already answered. I did make an attempt to search archives at lists.apache.org stack overflow etc., but did not find this answered. ) We use Xerces-J to validate XML files. (XSD 1.0. We are not yet using XSD 1.1) The schemas of these files are huge. Think 300+ fai