Repository navigation
VS Code extension 0.5.5
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:
- Check that Python is installed, or install it.
- Install the two libraries in a virtual environment, with copy-paste commands for Linux, macOS and Windows.
- Point the extension at that Python with Schematron: Select Python Interpreter….
- 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.vsixIf you installed a version older than 0.5.4, uninstall nivaca.validate-schematron first.