Re: [xml] performance of parsing docbook with xincludes

2018-06-07 Thread Stefan Sauer
une 7 2018 >     the above with commas and any case (upper/lower/mixed) >     6/7/18 >     6/7/2018 >     2018/6/7 >     20180607 >     180606 > 06-07-18 > > And actually many many more.  Anything that is a date goes through > this one routine and if there is a

Re: [xml] performance of parsing docbook with xincludes

2018-06-07 Thread Stefan Sauer
On 05/17/2018 04:18 PM, Nick Wellnhofer wrote: > On 16/05/2018 21:51, Stefan Sauer wrote: >> So one solution could be another flag to enable this? > > Yes, but it would be rather ugly. > >> Thanks, reading the code. Need to figure where we could cache external >> subsets and what a suitable keys is

Re: [xml] performance of parsing docbook with xincludes

2018-06-07 Thread Nick Wellnhofer
On 07/06/2018 00:00, Stefan Sauer wrote: Another idea is to stop loading external DTDs for XIncludes without an XPointer expression. This would still change the behavior for some users but it's much less likely to cause problems. change the behaviour, as in we would not catch validation errors?