Skip to content

v1.11.1

Choose a tag to compare

@github-actions github-actions released this 14 Oct 16:39
· 4 commits to main since this release
7e5d9a6

This release changes how the BES.xsd guard on auto-fix writes tells "no schema applies" apart from a real schema error.

⚠️ Upgrade notes

  • An auto-fix can now be refused where it used to be written. Line-less failures, such as an unreadable file or a document with no root element, now count as schema errors. Before, they could be mistaken for "no schema applies", and the fix was written unchecked.

Changed

  • This now needs validate_bes_xml >= 2.3.0, < 3 (was >= 2.2.1).
  • The BES.xsd guard now uses validate_bes_xml's ValidationResult.status to decide that no schema applies, so validity is unknown and the fix is written. It used to guess from a missing schema plus errors with no line numbers, which also matched other line-less failures.
  • A schema error with no line number now shows as just its message, not Line None: <message>, when the guard refuses an auto-fix.

Full Changelog: v1.11.0...v1.11.1