Skip to content

XML Prague 2019 Schematron Preconf Session

Gerrit Imsieke edited this page Feb 7, 2019 · 4 revisions
  • XProc 3.0: All validation steps will get a report output port
  • In 1.0, the RNG/RNC and XSD validation steps did not have a report port yet. (You needed to catch the error output, which then consisted of a c:errors document with c:error elements.)
  • Matthieu Ricaud-Dussarget proposed a unified report format that we slightly modified (and are still modifying).
  • The error report format can be specified by the pipeline author as a parameter. So for Schematron, it will be possible to receive either SVRL or XVRL (or maybe both; multiple report docs are already permitted for p:validate-with-schematron)
  • There will be XSLT (probably in this repo) to create XVRL from SVRL
  • JSON validation should be supported
  • Multiple error locator syntaxes (all SVRL XPaths, maybe JSON Pointer or JSON Path for JSON)
  • There should be an alternative JSON serialization for XVRL
  • Other features:
    • fixed severity vocabulary (info, warning, error, fatal-error)
    • Flexible error categorizations
    • Simple templating mechanism for later binding of computed values that are the same for each localization
  • More requirements listed in the README

What we have

  • A preliminary RNC schema
  • A sample report
  • XML Calabash 2.0 already creates XVRL reports (according to a previous version of the schema)

What we need

  • Your favorite feature
  • Your feedback

Open questions

  • Is the namespace http://www.xproc.org/ns/xvrl ok? It is not intended as an XProc-only format after all.
Clone this wiki locally