Repository navigation
v1.5
New
--jsonoutput forvalidate.py: lists every violation with pattern, context,assert/report,role, interpolated message, line andxml:id, plus XPath errors per rule and the schema source. A malformed document becomes anerrorentry instead of aborting the run.- VS Code extension (
vscode/, 0.1.0): validates XML/TEI files on open and save, showing Schematron violations, and jing's RelaxNG errors for.rngsources, as editor diagnostics and in the Problems panel.role="warning"/"info"set the severity. The.vsixbelow bundlesvalidate.py.
Install the extension
code --install-extension validate-schematron-0.1.0.vsixYou need Python with pip install saxonche lxml; set schematron.pythonPath if they're in a venv. jing is optional. On Linux, use a native (RPM/deb) VS Code rather than the Flatpak, which can't see your host Python or jing. See vscode/README.md for settings.
Other changes
- Validation is separated from text reporting; the terminal output is unchanged.
- Fixed a broken options table in README.md.