Repository navigation
Emacs package 0.1.2
A file that is not trusted is now hard to miss, and can be trusted on request. py-xmlvalidate.py is unchanged (1.15).
Flymake checks only the files in trusted-content, and this package keeps that rule: the schema a document names is run by Saxon, whose XPath can read files and fetch URLs. Until now the package said so only in a passing message, so a document opened from, say, ~/Downloads was never checked as you typed, and only py-xmlvalidate-report showed its Schematron errors.
- Opening an untrusted file shows a warning in the
*Warnings*buffer, once per file, with the line to add to your init file. M-x py-xmlvalidate-trust-fileasks whether to trust the file alone or its folder, adds it totrusted-contentfor the session, starts checking, and puts the line that keeps it in the kill ring.py-xmlvalidate-checkandpy-xmlvalidate-refresh-schemaexplain why they cannot run on an untrusted file, andpy-xmlvalidate-reportends with the same note.
Trust single files rather than folders like ~/Downloads/, where files from elsewhere arrive.
With Straight, M-x straight-pull-package RET py-xmlvalidate, then restart Emacs (or reload the package).
File: py-xmlvalidate-emacs-v0.1.2.zip, the scripts, the Emacs package and the documentation.