XSpec v3.1.2 Released
September 30, 2024
Submitted by Amanda Galtman.
We are pleased to announce the release of XSpec v3.1.2, the open source unit test and behaviour-driven development framework for XSLT, XQuery, and Schematron.
You can get the latest release of XSpec and read the release notes on GitHub.
These are the highlights:
Common to Languages Under Test
- XSpec is tested with Saxon 12.5, except that the detailed contents of XSLT code coverage reports are tested with Saxon 12.4.
- The XSpec schemas enforce the boolean values for the
x:expand-text
attribute and provide a Schematron Quick Fix forexpand-text
attributes on non-XSpec elements.
XSLT
- XSLT code coverage reports have many bug fixes.
- XSLT code coverage reports include a new coverage status of "unknown" for situations where XSpec has insufficient data to judge whether a node was hit or missed. Some instances of hit/miss/unknown determinations differ based on the Saxon version used for generating the report. While both Saxon 12.4 and 12.5 are supported, 12.4 is currently preferred for coverage reporting.
XQuery
- XSpec is tested with BaseX 11.3.
Schematron
- SchXslt 1.10 replaces SchXslt 1.9.5 as the built-in Schematron implementation.
Many thanks to all the XSpec contributors who made this release possible! They are listed in the release notes.