Configure Validation Scenarios does not detect phases in Schematron with includes
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Configure Validation Scenarios does not detect phases in Schematron with includes
I have a Schematron file that is for the most part empty, except for the <sch:include> elements that point to included Schematron files that have the intended <sch:phase> and <sch:active> elements that define the phases. When I go to Configure Validation Scenario(s) > Edit Scenario, and then specify the master Schematron file, the Schematron phase drop-down menu is disabled, I think because oXygen hasn't fetched the included files. Maybe this is more of an enhancement request than a bug report?
Re: Configure Validation Scenarios does not detect phases in Schematron with includes
Hello,
Thanks for your feedback.
Yes, the phases from the included files are not collected when you associate a Schemaron in the validation scenario. We collect the phases from the included files only when the validation scenario is applied, and we display them in a dialog. This is because we do not expand the includes when the Schematron is selected in the validation scenario.
I added an issue on our issue tracker to analyze this situation. We need to consider also the performance because this detection must be fast and you can have complex Schematron files with multiple includes.
We will update this thread when the issue will be solved.
Best Regards,
Octavian
Thanks for your feedback.
Yes, the phases from the included files are not collected when you associate a Schemaron in the validation scenario. We collect the phases from the included files only when the validation scenario is applied, and we display them in a dialog. This is because we do not expand the includes when the Schematron is selected in the validation scenario.
I added an issue on our issue tracker to analyze this situation. We need to consider also the performance because this detection must be fast and you can have complex Schematron files with multiple includes.
We will update this thread when the issue will be solved.
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Configure Validation Scenarios does not detect phases in Schematron with includes
Thanks Octavian. I don't know if the following would be persuasive in the decision whether to implement this feature, but Schematron includes, unlike XSLT includes, have a small iteration limit. To fetch a Schematron phase that has been included, you need (I think) go no deeper than one round of inclusion, because it has to be a child of the root element.
Re: Configure Validation Scenarios does not detect phases in Schematron with includes
Hello,
Just wanted to update this thread and let you know that the recently released Oxygen 23 should have a fix for the issue you reported here.
Kind regards,
Teo
Just wanted to update this thread and let you know that the recently released Oxygen 23 should have a fix for the issue you reported here.
Kind regards,
Teo
Teodor Timplaru
<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