Validating using MSXML.NET with embedded schematron
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 1
- Joined: Fri Apr 11, 2008 5:06 pm
Validating using MSXML.NET with embedded schematron
I have not been able to find a way to make this work or find a post that addresses how to accomplish this.
Is there a way to configure Oxygen to simultaneously validate an xml instance file, that contains embedded schematron, using the MSXML.Net validation engine (instead of the default engine) and schemetron validation engine?
Is there a way to configure Oxygen to simultaneously validate an xml instance file, that contains embedded schematron, using the MSXML.Net validation engine (instead of the default engine) and schemetron validation engine?
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: Validating using MSXML.NET with embedded schematron
Try configuring a custom validation scenario and add two entries validating the current file with the MSXML.NET and with the Default engine. This will do what you want but will validate also with Xerces.
It is possible to remove the validation with Xerces but you need to associate the XML Schema only as a Schematron schema in oXygen and then duplicate the MSXML.NET custom engine in options to specify the XML Schema to be used then you can use a similar scenario with the Default engine which will perform only Schematron validation (as only the Schematron schema will be associated with the instance) and the validation with the MSXML.NET duplicate engine which will validate against the specific schema you set in its command line (note that for the duplicate engine you need to set the command line for Schematron as that is the detected schema).
Another thing to be aware of is that MSXML.NET messages are put in the Info result tab.
Best Regards,
George
It is possible to remove the validation with Xerces but you need to associate the XML Schema only as a Schematron schema in oXygen and then duplicate the MSXML.NET custom engine in options to specify the XML Schema to be used then you can use a similar scenario with the Default engine which will perform only Schematron validation (as only the Schematron schema will be associated with the instance) and the validation with the MSXML.NET duplicate engine which will validate against the specific schema you set in its command line (note that for the duplicate engine you need to set the command line for Schematron as that is the detected schema).
Another thing to be aware of is that MSXML.NET messages are put in the Info result tab.
Best Regards,
George
George Cristian Bina
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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