[oXygen-user] warning if closing invalid documents

Radu Coravu
Wed Dec 3 00:48:09 CST 2014


Hi Peter,

Oxygen also have lots of Java-based API so for example you could 
implement a plugin using our Plugins SDK:

> http://www.oxygenxml.com/oxygen_sdk.html#oXygen_standalone_plugins

which would remember the last errors received when validating a file and 
reject the closing of the file if there are still errors present in it. 
If you want to investigate this approach, we can give you more details.

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 12/2/2014 5:01 PM, Oxygen XML Editor Support (Adrian Buza) wrote:
> Hello Peter,
>
> While there is no option in Oxygen to prompt the user when closing an
> invalid file, there is an option that prompts the user when saving an
> invalid file: Options > Preferences, Editor > Open/Save, Save
> subsection, 'Check errors on save'.
> So, this might actually help detect any problems earlier than closing.
> However, I must point out that this could also prove annoying when
> working on files with many errors and incrementally fixing some of the
> errors and saving. While errors remain in the document, each time you
> save, you will be prompted to confirm.
>
> Regards,
> Adrian
>
> Adrian Buza
> oXygen XML Editor and Author Support
>
> Tel: +1-650-352-1250 ext.2020
> Fax: +40-251-461482
> 
> http://www.oxygenxml.com
>
>
> On 01.12.2014 12:14, Peter Stadler wrote:
>> Hi all,
>>
>> is there a way of prompting the user before closing an invalid file?
>> I have some encoders who would really appreciate such a feature …
>>
>> Many thanks for any advice
>> Peter
>>
>>
>>
>> _______________________________________________
>> oXygen-user mailing list
>> 
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
>
>
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>



More information about the oXygen-user mailing list