SVRL output from Schematron
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 80
- Joined: Fri Apr 23, 2004 5:24 pm
- Location: Durham, NC, USA
SVRL output from Schematron
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
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
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: SVRL output from Schematron
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
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
George Cristian Bina
-
- Posts: 80
- Joined: Fri Apr 23, 2004 5:24 pm
- Location: Durham, NC, USA
Re: SVRL output from Schematron
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
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
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: SVRL output from Schematron
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
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
George Cristian Bina
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service