Page 1 of 1

SVRL output from Schematron

Posted: Sat Jun 19, 2010 1:49 am
by madde001
Hi all,

I'm trying to figure out how I can get SVRL output from my ISO Schematron schemas. Is there an option somewhere to output to SVRL instead of the oxygen console?

John

Re: SVRL output from Schematron

Posted: Mon Jun 21, 2010 5:40 pm
by george
Dear John,

No, that is not possible. oXygen collects directly the errors and does not use the SVRL output so that is never generated.
With XProc support that we added some time ago you can have the Schematron validation easily implemented as an XProc pipeline that will get you the SVRL output.
Also, any results can be saved as XML (see the contextual "Save Results as XML" action on the results view).

Best Regards,
George

Re: SVRL output from Schematron

Posted: Mon Jun 21, 2010 5:46 pm
by madde001
Hi George,

Great to hear from you.
Thanks for the info. I will do as you suggest.

Best, John

Re: SVRL output from Schematron

Posted: Tue Jun 22, 2010 5:04 pm
by madde001
btw, if you could add "built-in support for SVRL output from Schematron validation" as an enhancement request for a future oxygen version that would be great.
Obviously I would not want to lose the existing human-friendly output to the oxygen validation pane.
But looking at where Rick Jelliffe has been taking skeleton.xsl (http://www.schematron.com/validators.html), it seems pretty clear that this is gently moving away from text output and towards SVRL output as the preferred way of passing off validation results from a Schematron validation run.
Internally for oxygen, getting into the spirit of this change would mean taking SVRL output and pre-parsing it, instead of taking straight text output, as the input to the user-friendly validation result pane display.
But again, for now I will just set up an XProc pipeline as you suggest.
Cheers, John

Re: SVRL output from Schematron

Posted: Tue Jun 22, 2010 5:32 pm
by george
Hi John,

oXygen's implementation is also based on skeleton. Only that I simplified things a little as I already know what XSLT processors we are using and what version of Schematron. The error reporting a however more deeply integrated with the XSLT transformation to easily get the location information for the reported errors - otherwise one needs to map them from the SVRL output back to the document locations.

Best Regards,
George

Re: SVRL output from Schematron

Posted: Tue Jun 22, 2010 6:05 pm
by madde001
Hi George, that's fair enough, I understand what you mean. John