[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Two tips for dramatically increasing the speed ofvalidating a large number of XML files
- From: "Liam R. E. Quin" <liam@fromoldbooks.org>
- To: Roger L Costello <costello@mitre.org>, "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Wed, 10 Feb 2021 14:14:15 -0500
On Wed, 2021-02-10 at 18:05 +0000, Roger L Costello wrote:
>
> java com.saxonica.Validate -xsd:file.scm instances\*.xml
> . So, the time to validate all 6,000 XML files dropped from 3 hours
> to less than one second. Pretty cool, aye?
Yes - note also similar tricks apply to XSLT via fn:transform() on
items in a collection(), where again you can avoid the awful Java
startup time happening for every file.
--
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]