Schematron / schema-2016

Unofficial copy of schema(s) for Schematron 2016.
Other
4 stars 2 forks source link

ISO Schematron 2016 - RelaxNG Compact Schema + Schematron Files #1

Closed mkotelba closed 7 years ago

mkotelba commented 7 years ago

It would be tremendously useful to have the ISO Schematron 2016 version of the Schematron + SVRL RelaxNG Compact (RNC) schema + Schematron files available in this repository.

A version of the 2016 RNC schema files has already been created + made available on the schematron.com implementation page, but the schema files, iso-schematron.rnc_.txt and svrl.rnc_.txt, are malformed/unusable due to:

In an effort to get clean, canonical versions of the files, I dumped the text content of the ISO Schematron 2016 PDF from the official ZIP file (using Okular), then (carefully :smile:) copy-pasted the content of each file. After that, I replaced all curly/smart quotes with their corresponding ASCII characters. The resulting files even preserve the exact indentation in the PDF :smile:

I wasn't quite sure how the 2016 files should be organized/named (and where the 2006 ones should go), so, for now, I created a public Gist instead of filing a pull request: https://gist.github.com/mkotelba/3dbc11c1377abde63a11813f7cea3836

Let me know what you think.