Page 1 of 1

Schema Aware Editing Mode WebAuthor

Posted: Thu Jun 15, 2017 10:07 pm
by jacobBocaj
Hello,

I am unable to stop schema invalid edits to documents in the WebAuthor environment.

In my options.xml file for WebAuthor I have set field, 'schemaAwareEditingMode' to 'schema_aware_editing_custom' and set field, 'isVerifyDeleteElementTagsAction' to 'true' however, I am still able to remove elements that render documents as invalid.

How can I prevent document modifications that render documents invalid? I found a forum post that covers this issue but doesn't post the final resolution: post22654.html?hilit=isVerifyDeleteElementTagsAction#p22654.

Any help will be appreciated,
Jacob

Re: Schema Aware Editing Mode WebAuthor

Posted: Fri Jun 16, 2017 11:17 am
by mihaela
Hi Jacob,

The 'isVerifyDeleteElementTagsAction' tag corresponds to the "Reject action when its result is invalid" option from "Delete element tags with backspace and delete" options group. Setting this option to 'true' will prevent invalidating the document by deleting the element tags, not by deleting the entire element for example.
Can you give us a small sample and some steps to reproduce the sittuation in which you are expecting that this option to inhibit deleting an element?

There is another thing that you should know: if you use Relax NG schemas this option will not have any effect (because, for the moment, Oxygen does not recognize required elements from Relax NG schemas).

In general you do not need to change the schema aware options because the defaults should be sufficient for preventing schema invalid edits.

Best Regards,
Mihaela

Re: Schema Aware Editing Mode WebAuthor

Posted: Fri Jun 16, 2017 8:26 pm
by jacobBocaj
Mihaela,

The issue was related to the RNG schema as you indicated. I've resolved the problem and all is working well now.

Thank you for the information.

Regards,
Jacob

Re: Schema Aware Editing Mode WebAuthor

Posted: Mon Jun 19, 2017 9:04 am
by mihaela
Hi Jacob,

Thank you for your feedback. We will add the required element support for RNG schema in a future version and we will let you know when it will be available.

Best Regards,
Mihaela

Re: Schema Aware Editing Mode WebAuthor

Posted: Mon Oct 02, 2017 4:02 pm
by mihaela
Hi,

The support for required elements for RNG schema was implemented and it is included in Oxygen 19.1 (which we released a couple of days ago).

Best Regards,
Mihaela