XSLT validation annoyance
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 4
- Joined: Fri May 31, 2019 5:21 pm
XSLT validation annoyance
Post by jdwinfodesign »
"There is no documentation for the template... ."
Looked in Options>Preferences>Editor>Content Completion>XSLT, don't see any way to turn off this particular message without turning off validation altogether. Any way to do so other than adding more lines to my XSLT?
Looked in Options>Preferences>Editor>Content Completion>XSLT, don't see any way to turn off this particular message without turning off validation altogether. Any way to do so other than adding more lines to my XSLT?
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: XSLT validation annoyance
Hello,
Thanks for your feedback.
This type of warning is presented only if you are using "xd:doc" element to document your stylesheet, but you didn't add documentation for all your templates and functions.
To deactivate the Schematron checks for XSLT you need to go to Option-Preferences->Document Type Association options page, then edit the XSLT document type, and in the Validation tab uncheck the "XSLT" validation scenario to be used as default scenario. In the "XSLT" scenario are defined the Schematron rules. In case you want to use them later you can activate them by setting back the default scenario.
Best Regards,
Octavian
Thanks for your feedback.
This type of warning is presented only if you are using "xd:doc" element to document your stylesheet, but you didn't add documentation for all your templates and functions.
To deactivate the Schematron checks for XSLT you need to go to Option-Preferences->Document Type Association options page, then edit the XSLT document type, and in the Validation tab uncheck the "XSLT" validation scenario to be used as default scenario. In the "XSLT" scenario are defined the Schematron rules. In case you want to use them later you can activate them by setting back the default scenario.
Best Regards,
Octavian
Octavian Nadolu
<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