ISO Schematron implementations & resources

Schematron Users Meetup · Prague, June 6th 2024

Implementations

Skeleton

https://github.com/schematron/schematron

Implementation language XSLT 1.0, XSLT 2.0
Supported query languages XSLT 1.0, XSLT 2.0
License MIT
Latest version -

Base of many maintained integrated solutions such as in <oXygen/>, XMLMind and other XML editors

ph-schematron

https://github.com/phax/ph-schematron

Implementation language Java
Supported query languages XPath 3, XSLT 1.0, XSLT 2.0, XSLT 3.0
License Apache 2.0
Latest version Version 8.0.0, March 2024

Wraps the XSLT-based implementations and provides a pure Java implementation for the XPath query language binding

XQS

https://github.com/andrewsales/xqs

Implementation language XQuery 3
Supported query languages XQuery 3
License Apache 2.0
Latest version Version 0.2.0-balisage, August 2023

SchXslt

https://github.com/schxslt/schxslt

Implementation language XSLT 1.0, XSLT 2.0
Supported query languages XSLT 1.0, XSLT 2.0, XSLT 3.0
License MIT
Latest version Version 1.9.5, June 2023

SchXslt2 Schematron to XSLT 3.0 transpiler

https://github.com/schxslt/schxslt2

Implementation language XSLT 3.0
Supported query languages XSLT 3.0
License MIT
Latest version Version 1.1, April 2024

Features:

  • typed variables, global abstract rules, declaration of abstract pattern parameters
  • streamable validation stylesheets, text value templates, stop on first failed assertion

Resources

Conformance Tests

A set of 90+ tests specifications for ISO Schematron covers basic functionality as well as more esoteric or often overlooked features.

https://github.com/schematron/schematron-conformance

Books & Online-Resources

Siegel, Erik (2022). Schematron: A Language for Validating XML
https://xmlpress.net/publications/schematron/
Rick Jelliffe's Schematron Webpage
https://schematron.com
Hedler, Marko, Manuel Montero Pineda, and Nico Kutscherauer (2011). Schematron: Effiziente Business Rules für XML-Dokumente. Heidelberg: dpunkt.
https://schematron.info

Community

Schematron Enhancement Proposals
A Github project dedicated to the proposal and discussion of enhancements to ISO Schematron.
https://github.com/schematron/schematron-enhancement-proposals
Schematronist
A low-volume mailing list for ISO Schematron users.
https://schematronist.org