Schematron ValidationProblemsFilter
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 11
- Joined: Mon Dec 06, 2021 12:25 pm
Schematron ValidationProblemsFilter
Hi,
In some cases I need to hide Schematron ValidationProblem from user. I implemented my own ValidationProblemsFilter, but can't get any ID of rule.
For Xerces validation Errors, I can get an ErrorKey, but for Schematron Problems ErrorKey is always null. Is it possible to set ErrorKey in Schematron rules, or get the ID of the rule?
Thanks & Regards,
Joseph
In some cases I need to hide Schematron ValidationProblem from user. I implemented my own ValidationProblemsFilter, but can't get any ID of rule.
For Xerces validation Errors, I can get an ErrorKey, but for Schematron Problems ErrorKey is always null. Is it possible to set ErrorKey in Schematron rules, or get the ID of the rule?
Thanks & Regards,
Joseph
Joseph Weichert
Senior Solution Architect
KGU TechPub Services GmbH
Senior Solution Architect
KGU TechPub Services GmbH
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: Schematron ValidationProblemsFilter
Hello Joseph,
Starting with Oxygen version 23.1 we added support to ignore validation problems, maybe you can use our ignore validation problem support. You can read more about this on our website:
https://www.oxygenxml.com/xml_editor/wh ... Validation
Also in this version we added an error key for the Schematron messages, the error key is composed from the Schematron file name and the assert/report ID (e.g. flowers.sch:xrefFormatID). Therefore, in order to have an error key for a Schematon message you need to add an @id attribute on the assert/report element..
Best Regards,
Octavian
Starting with Oxygen version 23.1 we added support to ignore validation problems, maybe you can use our ignore validation problem support. You can read more about this on our website:
https://www.oxygenxml.com/xml_editor/wh ... Validation
Also in this version we added an error key for the Schematron messages, the error key is composed from the Schematron file name and the assert/report ID (e.g. flowers.sch:xrefFormatID). Therefore, in order to have an error key for a Schematon message you need to add an @id attribute on the assert/report element..
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
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