On Wednesday 21 October 2015 22:14:02 Svante Schubert wrote: > The new OASIS ODF technical committee chair Jos van den Oever created some > nice schematron files to validate references within references: > https://lists.oasis-open.org/archives/office/201510/msg00083.html > > I have updated our XSLT-Runner to be run by commandline and checked if the > validation is working. > > For those who might be curious Jos files are at > https://tools.oasis-open.org/version-control/svn/office/branches/v1.3_OFFICE > -3887/v1.3/ > > Schematron XSL file iso_svrl_for_xslt2.xsl can be downloaded as part of > the reference implemenation > http://www.schematron.com/implementation.html > > To validate not only an unzipped XML but to address the ODT our XSLT-Runner > does the job using ODFDOM with > > java -cp > xslt-runner-1.2.3-incubating-SNAPSHOT-jar-with-dependencies.jar;saxon9he.jar > org.odftoolkit.odfxsltrunner.Main -f net.sf.sax.TransformerFactoryImpl > identifiers-and-references.xsl test.odt
Nice! I did not know about the xslt runner. I'll have to give it a go. Cheers, Jos
