TEIC / atop

Another TEI ODD Processor
Other
9 stars 2 forks source link

Add tests for Schematron against instance files to the transpile test suite #30

Open martindholmes opened 2 months ago

martindholmes commented 2 months ago

We currently validate our generated RNG and test it against both valid and invalid instance files; and we validate our Schematron output. But we don't yet test our Schematron output against valid and invalid instance files. This should be part of the test process.

martindholmes commented 3 weeks ago

Summary of the approach we're going to take:

  1. @sydb will write an XSLT that takes the SVRL output from a validation operation and extracts from it only the error message text, and then sequences all the error messages alphabetically, providing a text file we can use for diffing against expected results.
  2. We will add Schematron valid and invalid structures to the existing valid and invalid test files so that we don't have to proliferate tests files, and particularly, we don't have to differentiate between files intended for rng test and files intended for Schematron tests.