Daffodil Validator API implementation for ISO Schematron in XSLT2.
Supports standalone sch files or embedded schematron rules within the Daffodil schema.
schematron
: default parameter provides path to the schematron file or resourceSchematron defaults to 1.0 of both XSLT and XPath. Use 2.0 by setting sch:queryBinding="xslt2"
on the schema.
See version support comments in the XSL for more details.
SchematronValidationError
on failed rule checkRegistered as schematron
Validators.get("schematron")
The schematron
argument to the --validate
flag will provide the schematron parameter and initiate the parsing.
daffodil parse --validate schematron=my.sch ...