Skip to content

v1.14

Choose a tag to compare

@nivaca nivaca released this 17 Nov 15:43
· 7 commits to main since this release

py-xmlvalidate.py 1.14

  • New: py-xmlvalidate-install.py. It links the two scripts into ~/bin, so you can run them by name from any folder:

    python3 py-xmlvalidate-install.py
    py-xmlvalidate.py document.xml
    py-xmlvalidate-all.sh document.xml

    The links point to the project's folder, so a git pull there updates the commands at once. An existing file or another link with the same name is left alone; --force replaces another link, never a file. --uninstall removes only its own links, and --bin FOLDER puts them somewhere else.

  • Python check: the installer checks that the python3 the commands will use has saxonche and lxml. If it doesn't, the installer shows the command that installs them.

  • Companion script: py-xmlvalidate-all.sh now finds py-xmlvalidate.py through a symbolic link.

  • Executable: py-xmlvalidate.py is now executable.

The validation itself is the same.

Files

  • py-xmlvalidate-v.1.14.zip: py-xmlvalidate.py, py-xmlvalidate-all.sh, py-xmlvalidate-install.py and their documentation.
  • validate-schematron-0.5.10.vsix: the VS Code extension, unchanged since 0.5.10.

Both need Python 3.15 or later, with the saxonche and lxml libraries.