validator/CHANGELOG.md
2020-03-20 16:21:49 +01:00

2.4 KiB

Changelog

All notable changes to the Schematron Rules and this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.2.0 (unreleased)

Added

  • Provide access to schematron result through Result.java
    • Result#getFailedAsserts() returns a list of failed asserts found by schematron
    • Result#isSchematronValid() convinience access to evaluate whether schematron was processed without any FailedAsserts

Changed

  • getAcceptRecommendation() does not only work when acceptMatch is configured in the scenario
    • schema correct is a precondion, of the checked instance is not valid, this evaluates to REJECTED
    • if acceptMatch is configured, the result is based on the boolean result of the xpath expression evaluated against the generated report
    • if no acceptMatch is configured, the result is based on evaluation of schema and schematron correctnes

1.1.3

Fixed

  • XXE vulnerability when reading xml documents with Saxon #44
  • validator unintentionally stopped when schematron processing has errors. See #41.

1.1.2

Fixed

  • NPE in Result.getReportDocument for malformed xml input

1.1.1

Added

  • Convenience method for accessing information about well-formedness in Result
  • Convenience method for accessing information about schema validation result in Result

Fixed

  • NPE when validating non-XML files

1.1.0

Added

  • Enhanced API-Usage e.g. return Result object with processing information
  • Support loading scenarios and content from a JAR-File
  • Simple Daemon-Mode exposing validation functionality via http
  • cli option to serialize the 'report input' xml document to cwd (current working directory)
  • Documentation in docs folder

Changed

  • Use s9api (e.g. XdmNode) internally for loading and holding xml objects (further memory optimization)
  • Builds with java 8 and >= 11
  • Packages for java8 and java >= 11 (with jaxb included)
  • Translated README.md

1.0.2

Fixed

  • Memory issues when validating multiple targets

1.0.1

Changed

  • Removed XRechnung configuration from release artifacts and source (moved to own repository )

1.0.0

  • Initial Release