DtdAnalyzer icon indicating copy to clipboard operation
DtdAnalyzer copied to clipboard

Integrate Schematron generator

Open Klortho opened this issue 12 years ago • 3 comments

See the write-up in the paper. It's described as the XSLT dtdschematron.xsl, and that users can select either full Schematron or only supplemental. That means we need to be able to pass an XSLT param from the dtdanalyzer command line to the XSLT.

Klortho avatar Sep 10 '12 15:09 Klortho

I made a first stab at this. The dtdschematron scripts are in place and they correctly invoke the XSLT transformation, and output what looks like a reasonable document, when I do this:

cd test/split-example
dtdschematron -m split-example.dtd split-example.sch

But I can't get the instance document to validate correctly inside oxygen. It looks like there are some problems with the generated schematron files. You can also use the "-f" option to generate "full", or "complete" schematron, but in that case, there are even more problems.

Audrey, if you have time, can you take a look? Are we using your latest schematron-generating stylesheet? Could you write up some instructions on the wiki?

Klortho avatar Dec 19 '12 02:12 Klortho

Chris,

This was due to new elements under declarations/ not having handling in place. I fixed this, and some cosmetic stuff.

ahamelers avatar Jan 02 '13 23:01 ahamelers

Can this be closed?

ahamelers avatar Jan 02 '13 23:01 ahamelers