Oh boy! XSpec v3.0 is scheduled for April this year, including (among other things) SchXslt 1.9.5 as replacement for the skeleton implementation. I'm at the ready to fix the issues that will be detected this way.

https://github.com/xspec/xspec

#schematron #schxslt #xspec

GitHub - xspec/xspec: XSpec is a unit test and behaviour-driven development (BDD) framework for XSLT, XQuery, and Schematron.

XSpec is a unit test and behaviour-driven development (BDD) framework for XSLT, XQuery, and Schematron. - xspec/xspec

GitHub

The next version of SchXslt2 will support a processing instruction schxslt.declare-param to aid writing ISO Schematron w/ abstract patterns. I chose a processing instruction over reusing the sch:param element to not interfere with the current standardisation process.

If the processing instruction is used, the transpiler terminates with an error if a declared parameter is not provided, and if a provided parameter ist not declared.

https://git.sr.ht/~dmaus/schxslt2/tree/main/item/src/main/resources/content/transpile.xsl#L186

#schematron #schxslt

Today I Learned: The xsl:import element children must precede all other element children of an xsl:stylesheet element, including any xsl:include element children and any user-defined data elements.

https://github.com/schxslt/schxslt/issues/317

#xslt #til #schxslt #schematron

XslLoadException: 'xsl:import' element children must precede all other children of the 'xsl:transform' element. · Issue #317 · schxslt/schxslt

I am trying to validate a message against a Schematron schema using C#. I thought this was going to be as simple as: Step 1. Transform the schema using pipeline-for-svrl.xsl Step 2. Transform the m...

GitHub