Skip to content

v1.6 (VS Code extension 0.3.0)

Choose a tag to compare

@nivaca nivaca released this 12 Nov 20:18
· 17 commits to main since this release

validate.py 1.6: message fixes

  • <sch:name/> is now interpolated, including the optional @path. It used to be dropped, giving messages like "Error: has corresp…" with no element name.
  • <sch:value-of> yields the string value. On an attribute it used to print the whole attribute: corresp=" corresp="#" ".
  • Message spacing is preserved around interpolated values, so corresp="#" no longer becomes corresp=" # ".
  • In the terminal's aggregate count, the dynamic parts of a message show as ….
Before Now
Error: element has corresp="#"… Error: div element has corresp="#"…
Error: has corresp=" corresp="#" "… Error: div has corresp="#"…

VS Code extension 0.3.0: status bar

For the active file, the status bar shows a spinner while validating, ✓ Schematron when the file is clean, Schematron: N when there are problems, and Schematron: failed (red) when validation can't run. The tooltip gives details and the time of the last check; click it to open the output log.

Install the extension

code --install-extension validate-schematron-0.3.0.vsix