Schematron quick fixes in Word archive

Having trouble installing Oxygen? Got a bug to report? Post it all here.
whyme
Posts: 89
Joined: Fri Mar 08, 2013 8:58 am

Schematron quick fixes in Word archive

Post by whyme »

I have applied a schematron file with quick fixes to an XML document within a Word file archive and validated the file. The tooltip (red lightbulb occupying the line number) works fine for any error I pick, but then it disappears after that first error is corrected. It does not appear again until the file is validated again. Is this something that could be adjusted in oXygen, or is this just a consequence of working with an archive?

Thanks for the great things you've put in v. 17!
tavy
Posts: 365
Joined: Thu Jul 01, 2004 12:29 pm

Re: Schematron quick fixes in Word archive

Post by tavy »

Hello,

The quick fixes are generated when the document is validated. If a modification is made in the document, the quick fix are invalidated. But are regenerated automatically if you have the "Enable automatic validation" option checked (from the "Editor / Document Checking" option page).

Want I think it happens in your case is that your document contains long lines. And oXygen disables some of the features in this case. One of them is the "automatic validation". You can read more about this in our user manual:
http://www.oxygenxml.com/doc/ug-editor/ ... ument.html

If this is the case, you can remove this limitations modifying the option "Optimize loading for documents with lines longer than (Characters)" from the Preferences menu Options->"Editor / Open/Save" options page.
Also I suggest to enable the "line wrap" support for your document, even using "Document->Edit->Toggle Line Wrap (Ctrl Shift Y) action or enabling the "Line wrap" option from the "Editor / Edit modes / Text" options page.

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply