Page 1 of 1

Quick fix collides with xslt schematron validation (Oxygen 19)

Posted: Thu Apr 13, 2017 10:36 am
by daniel-schmidt
Hi,

with the new release of Oxygen 19 you introduced schematron validation for XSLT. Thanks for this feature.
However it collides with another feature, I often use: Quick fix (Alt+1) on xslt-functions to then search for all usages. In Oxygen 19 only the schematron quick fix pops up, if the function has no documentation. I expected to see the old content of the popup plus the new schematron quickfix.

I know that the best workaround would be to write documentation for all my functions ;)

I could not find how to deactivate the schematron validation for XSLT. Could you please point me to where I can configure this new feature?

Thanks in advance.

Re: Quick fix collides with xslt schematron validation (Oxygen 19)

Posted: Thu Apr 13, 2017 2:49 pm
by tavy
Hello,

Thank you for the feedback.
I will add an issue on our issue tracker to find a solution for this problem.

As an workaround you can deactivate the Schematron checks for XSLT. For this 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.

Another solution is to edit the XSLT scenario and uncheck the "Automatic validation" for the Schematron rules (the second row from the validation scenario). In this way the Schematron checks will be presented only if you are using the Validate action manually.

Best Regards,
Octavian

Re: Quick fix collides with xslt schematron validation (Oxygen 19)

Posted: Fri Jul 07, 2017 3:53 pm
by ionela
Hi,

Just to update the thread, this problem has been resolved in the latest maintenance build of Oxygen 19.0, 2017062918 (released on July 5th):
Quick Assist/Quick Fix: Resolved a conflict between Quick Assist and Quick Fix actions that caused the Quick Assist action to no longer be presented when a Quick Fix was available.
You can download it from our web site:
http://www.oxygenxml.com/download.html

The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2017062918

You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml

Let us know if you encounter further problems with this new build.

Regards,
Ionela