Apply all Schematron Quick Fixes
Post here questions and problems related to oXygen frameworks/document types.
Apply all Schematron Quick Fixes
Hi,
is it possible to apply all suggested Schematron quick fixes at once for the current topic? If yes, how?
Thanks and best regards,
Stefan
is it possible to apply all suggested Schematron quick fixes at once for the current topic? If yes, how?
Thanks and best regards,
Stefan
stefan-jung.org – Your DITA/DITA-OT XML consultant
Re: Apply all Schematron Quick Fixes
Hello Stefan,
You cannot execute all the fixes define in a document. This is because you can have multiple fixes for the same problem and you need to decide which fix should be executed.
This feature should be implemented using the @default-fix attribute which is not supported yet in <oXygen/>. See the Additional Elements Supported in the Schematron Quick Fixes section from our user manual.
Each assert/report element can have a @default-fix attribute, and there should be an action that will execute all default fixes. The fixes will be executed in document order and the developer of the fixes needs to make sure that the execution of a fix will not affect the execution of the other default fixes.
Best Regards,
Octavian
You cannot execute all the fixes define in a document. This is because you can have multiple fixes for the same problem and you need to decide which fix should be executed.
This feature should be implemented using the @default-fix attribute which is not supported yet in <oXygen/>. See the Additional Elements Supported in the Schematron Quick Fixes section from our user manual.
Each assert/report element can have a @default-fix attribute, and there should be an action that will execute all default fixes. The fixes will be executed in document order and the developer of the fixes needs to make sure that the execution of a fix will not affect the execution of the other default fixes.
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Apply all Schematron Quick Fixes
Hi Stefan,
a workaround might be to provide a special quick fix to deal with multiple errors.
For instance in my framework I have a schematron rule checking for missing @id attributes. Now I provide two quick fixes for this: One to add the @id for the current element and another one to add all missing @id attributes in the current file...
Patrik
a workaround might be to provide a special quick fix to deal with multiple errors.
For instance in my framework I have a schematron rule checking for missing @id attributes. Now I provide two quick fixes for this: One to add the @id for the current element and another one to add all missing @id attributes in the current file...
Patrik
Re: Apply all Schematron Quick Fixes
Hi Stefan,
Just wanted to update this thread by announcing that a tool to "automatically apply all default quick fixes" is now available in the recently released Oxygen suite version 27.
You can find more details by following the link below:
https://www.oxygenxml.com/doc/versions/ ... tools.html
Additionally, at the end of the mentioned topic, there is also a link to a video demonstration on our Youtube channel.
Best regards,
Teo
Just wanted to update this thread by announcing that a tool to "automatically apply all default quick fixes" is now available in the recently released Oxygen suite version 27.
You can find more details by following the link below:
https://www.oxygenxml.com/doc/versions/ ... tools.html
Additionally, at the end of the mentioned topic, there is also a link to a video demonstration on our Youtube channel.
Best regards,
Teo
Teodor Timplaru
<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