Skip to content

VS Code extension 0.5.5

Choose a tag to compare

@nivaca nivaca released this 12 Nov 21:34
· 4 commits to main since this release

VS Code extension 0.5.5. validate.py is unchanged at 1.8, and the extension bundles it.

Clear setup instructions

The extension needs Python 3 with two libraries, saxonche and lxml. VS Code doesn't install them. The README, which is also the extension's Marketplace page, now opens with Before you start:

  1. Check that Python is installed, or install it.
  2. Install the two libraries in a virtual environment, with copy-paste commands for Linux, macOS and Windows.
  3. Point the extension at that Python with Schematron: Select Python Interpreter….
  4. Check that it works, for example on the example in the release zip.

It also covers optional jing (for structural checks) and has a table of what to do when something goes wrong.

When the Python in use lacks the libraries, the notification now has a Setup Guide button that opens these steps. They're also available anytime through the new command Schematron: Setup Guide.

Files

  • validate-schematron-0.5.5.vsix: the VS Code extension.
  • validate-schematron-v.1.8.zip: validate.py and its documentation.

Install

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

If you installed a version older than 0.5.4, uninstall nivaca.validate-schematron first.