Disabling Schematron
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Disabling Schematron
Short question: How do I disable Schematron ?
I am working on a huge conversion project and there can be lots of things wrong with the DITA files that are produced. Unfortunately, the Problems window is filled with an enormous amount of warnings from Schematron, which are not at all relevant at this point. So I would really like to tell Schematron to go and take a hike. But I am not finding that option in the Preferences.
Thanks in advance for a quick reply
4everJang
I am working on a huge conversion project and there can be lots of things wrong with the DITA files that are produced. Unfortunately, the Problems window is filled with an enormous amount of warnings from Schematron, which are not at all relevant at this point. So I would really like to tell Schematron to go and take a hike. But I am not finding that option in the Preferences.
Thanks in advance for a quick reply
4everJang
Re: Disabling Schematron
Hi Jang,
So you get these Schematron errors when opening DITA topics and validating them, right?
As far as I know the default Schematron validation that we provide for DITA topics is minimal, can you give me an example of an error message that you receive? Or did you add extra Schematron validation to the DITA topics?
If you look in the Preferences->Document Type Associations page, edit the "DITA" framework, it should have a "Validation" tab where it lists its default validation scenarios. The validation scenario is named "DITA", it can be edited and it has several validation stages, you can remove the Schematron validation stages from there.
Regards,
Radu
So you get these Schematron errors when opening DITA topics and validating them, right?
As far as I know the default Schematron validation that we provide for DITA topics is minimal, can you give me an example of an error message that you receive? Or did you add extra Schematron validation to the DITA topics?
If you look in the Preferences->Document Type Associations page, edit the "DITA" framework, it should have a "Validation" tab where it lists its default validation scenarios. The validation scenario is named "DITA", it can be edited and it has several validation stages, you can remove the Schematron validation stages from there.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Disabling Schematron
Hello Radu,
Thanks for the info. I will check on my options to change the schematron rules or switch that validation off completely. The rule that is bothering me is "In cases where a topic contains only one paragraph, then it is preferable to include this text in the shortdesc element and leave the topic body empty." It is my job to convert the legacy content into valid DITA, not to do any content curation. Also, I would not equate any content in the topic body with the shortdesc element, even though the DITA specs state that the single paragraph in the short description is supposed to be rendered as the first paragraph in the topic body. That, in my view, is a fallacy. Short descriptions are to help a user decide which of the 100 hits on a search is going to give the answer - usually the short description is NOT contained literally in the topic body itself.
Anyway, that is just my philosopher's point of view. I know where to look for getting rid of the warnings. I am getting about 9000 of them and I am only interested in the meaningful messages that might also appear when validating the complete content.
Kind regards
Jang
Thanks for the info. I will check on my options to change the schematron rules or switch that validation off completely. The rule that is bothering me is "In cases where a topic contains only one paragraph, then it is preferable to include this text in the shortdesc element and leave the topic body empty." It is my job to convert the legacy content into valid DITA, not to do any content curation. Also, I would not equate any content in the topic body with the shortdesc element, even though the DITA specs state that the single paragraph in the short description is supposed to be rendered as the first paragraph in the topic body. That, in my view, is a fallacy. Short descriptions are to help a user decide which of the 100 hits on a search is going to give the answer - usually the short description is NOT contained literally in the topic body itself.
Anyway, that is just my philosopher's point of view. I know where to look for getting rid of the warnings. I am getting about 9000 of them and I am only interested in the meaningful messages that might also appear when validating the complete content.
Kind regards
Jang
Re: Disabling Schematron
Hi Jang,
I understand and agree, I'm also not a big fan of that rule although I think I added it quite a long time ago. I will add an internal issue to consider removing it. I consider this is the kind of rule which can be added by a specific team which needs it and not built in Oxygen.
Regards,
Radu
I understand and agree, I'm also not a big fan of that rule although I think I added it quite a long time ago. I will add an internal issue to consider removing it. I consider this is the kind of rule which can be added by a specific team which needs it and not built in Oxygen.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 404
- Joined: Mon May 09, 2016 9:37 am
Re: Disabling Schematron
Post by sorin_carbunaru »
Hi,
The rule has been removed in Oxygen 23 .
All the best,
Sorin Carbunaru
The rule has been removed in Oxygen 23 .
All the best,
Sorin Carbunaru
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