Page 1 of 1
Can a failed Schematron rule prevent saving DITA file?
Posted: Thu Feb 08, 2024 8:57 pm
by ann.jensen
Hi,
Is there any way to block/prevent saving a DITA file if there is a Schematron rule validation is causing an error?
Thanks,
Ann
Re: Can a failed Schematron rule prevent saving DITA file?
Posted: Fri Feb 09, 2024 1:48 pm
by alex_jitianu
Hi Ann,
If you go to
Options->Preferences... on page
Editor / Save and toy select
Validate document before saving, a dialog like the one below will appear when a document is saved and it contains validation errors. The user can still choose to save it, but it is an informed decision and he probably wont save if the company policy is to fix validation problems before saving.
Best regards,
Alex
Re: Can a failed Schematron rule prevent saving DITA file?
Posted: Fri Feb 09, 2024 2:14 pm
by ann.jensen
Excellent, thanks for that Alex.
Regards,
Ann