Skip to content

v1.15 (VS Code extension 0.5.11)

Choose a tag to compare

@nivaca nivaca released this 17 Nov 18:04
· 6 commits to main since this release

Faster checks. All the tests of a Schematron rule are now evaluated together, in one call per node, so the rule's <let> variables are computed once per node instead of once per test, as ISO Schematron intends. If the combined call fails, the rule's tests are evaluated one by one, so a broken test is still reported on its own.

On the smed Latin edition (about 26,000 lines, 2,054 <app> elements), a check went from 13.9 s to 3.5 s. Results are identical on the 35 documents compared.

The VS Code extension 0.5.11 bundles py-xmlvalidate.py 1.15; the speed-up matters most while you type in a large file.

Files:

  • py-xmlvalidate-v.1.15.zip: the scripts and documentation.
  • validate-schematron-0.5.11.vsix: the VS Code extension (install with Extensions: Install from VSIX…).