schematron support for oxygen browser plugin?
Oxygen general issues.
-
- Posts: 156
- Joined: Sat Feb 26, 2005 12:09 am
- Location: USA
- Contact:
schematron support for oxygen browser plugin?
Post by shudson310 »
Hi,
I'm testing a browser-based embedded oxygen editor plugin. Do you know if it would be able to support schematron validation in addition to the DTD / RNG validation?
Thanks,
--Scott
I'm testing a browser-based embedded oxygen editor plugin. Do you know if it would be able to support schematron validation in addition to the DTD / RNG validation?
Thanks,
--Scott
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Staff Content Engineer
Site: docs.servicenow.com
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: schematron support for oxygen browser plugin?
Hi Scott,
You mean our Author Component which can be embedded in a Web Browser as a Java applet, right?
http://www.oxygenxml.com/oxygen_sdk.htm ... _component
Yes it does.
Actually the default validation for DITA content is done using the DTDs + Schematron rules.
So either in each XML file before the root element you specify a link to the Schematron file used for validation like:
or you create a default validation scenario which also uses Schematron in the document type.
As an example if you start a standalone version of Oxygen, go to the "Preferences"->"Document Type Association" page and edit the DITA document type, in the "Validation" tab there is a default validation scenario. If you edit it, the validation scenario has two stages for automatic validation. The first stage validates with the schema specified in the document. The second stage validates with a Schematron schema located in: ${framework}/resources/dita-1.2-for-xslt2-mandatory.sch"
Then the framework gets bundled and used in the applet which will validate all DITA content with this default validation scenario.
Regards,
Radu
You mean our Author Component which can be embedded in a Web Browser as a Java applet, right?
http://www.oxygenxml.com/oxygen_sdk.htm ... _component
Yes it does.
Actually the default validation for DITA content is done using the DTDs + Schematron rules.
So either in each XML file before the root element you specify a link to the Schematron file used for validation like:
Code: Select all
<?xml-model href="path/to/schematron.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
As an example if you start a standalone version of Oxygen, go to the "Preferences"->"Document Type Association" page and edit the DITA document type, in the "Validation" tab there is a default validation scenario. If you edit it, the validation scenario has two stages for automatic validation. The first stage validates with the schema specified in the document. The second stage validates with a Schematron schema located in: ${framework}/resources/dita-1.2-for-xslt2-mandatory.sch"
Then the framework gets bundled and used in the applet which will validate all DITA content with this default validation scenario.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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