warning if closing invalid documents

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 -- Peter Stadler Carl-Maria-von-Weber-Gesamtausgabe Arbeitsstelle Detmold Gartenstr. 20 D-32756 Detmold Tel. +49 5231 975-665 Fax: +49 5231 975-668 stadler at weber-gesamtausgabe.de www.weber-gesamtausgabe.de

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 support@oxygenxml.com 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 oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

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 support@oxygenxml.com 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 oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (3)
-
Oxygen XML Editor Support (Adrian Buza)
-
Peter Stadler
-
Radu Coravu