Next in thread → Next in month →

Re: [xml-dev] Two tips for dramatically increasing the speed of validating a large number of XML files

From
Liam R. E. Quin <>
To
Roger L Costello <>, "" <>
Date
2021-02-10T19:14:15Z
ID
<>
Thread
Re: [xml-dev] Two tips for dramatically increasing the speed of validating a large number of XML files
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
Next in thread → Next in month →