Validation Exceptions
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 14
- Joined: Tue Sep 27, 2011 11:29 am
Validation Exceptions
Is there is a way of giving the Oxygen validation engine a set of XML element tags to ignore when validating?
For example, we have an XML document that contains elements like the following:
<paragraph>
<text>Some text</text>
<meta>Some meta</meta>
</paragraph>
The schema dictates that a paragraph can contain only <text> elements. Locally, we want to add a <meta> tag to show some extra details in the author mode render, however the Oxygen validation engine marks the entry as invalid. Unfortunately, we don't have any control over the schema so an exception list would be great.
For example, we have an XML document that contains elements like the following:
<paragraph>
<text>Some text</text>
<meta>Some meta</meta>
</paragraph>
The schema dictates that a paragraph can contain only <text> elements. Locally, we want to add a <meta> tag to show some extra details in the author mode render, however the Oxygen validation engine marks the entry as invalid. Unfortunately, we don't have any control over the schema so an exception list would be great.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Validation Exceptions
Post by sorin_ristache »
Hello,
Why don't you create a new schema which extends the schema which you cannot change and allow for meta inside paragraph?
Unfortunately the complete set of restrictions for the XML instance documents must be specified in the schema which is fed to the XML processor. There is no other way of adding an exception list.
I hope this helps,
Sorin
Why don't you create a new schema which extends the schema which you cannot change and allow for meta inside paragraph?
Unfortunately the complete set of restrictions for the XML instance documents must be specified in the schema which is fed to the XML processor. There is no other way of adding an exception list.
I hope this helps,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Validation Exceptions
Post by sorin_ristache »
Hi,
Such an exception list would not be conformant to the schema standards (W3C XML Schema, DTD, Schematron, etc). All restrictions must be specified by the schema that is parsed by the XML processor together with the XML instance document.
Best regards,
Sorin
Such an exception list would not be conformant to the schema standards (W3C XML Schema, DTD, Schematron, etc). All restrictions must be specified by the schema that is parsed by the XML processor together with the XML instance document.
Best regards,
Sorin
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