SVRL
The output format of a Schematron validation, defined in ISO/IEC 19757-3.
Definition
SVRL is the report produced when a Schematron schema is run against an XML document. Each violated assertion yields an <svrl:failed-assert> element carrying the XPath test, the context (location), the role (fatal/warning) and the message. PEPPOL and EN 16931 validators emit SVRL, which tooling then transforms into a human-readable report.
Origin
SVRL is defined in the annex of ISO/IEC 19757-3 (Document Schema Definition Languages — Part 3: Rule-based validation — Schematron) and produced by Rick Jelliffe's reference XSLT skeleton (iso-schematron).
Example in context
<svrl:failed-assert test="..." location="/Invoice[1]" flag="fatal"><svrl:text>[BR-CO-15] Invoice total amount with VAT...</svrl:text></svrl:failed-assert>
Related terms
- Schematron — SVRL is its reporting format.
- PEPPOL validation artefacts — produce SVRL.