Schema Aware Editing Mode WebAuthor

<oXygen/> general issues.
jacobBocaj
Posts: 12

Schema Aware Editing Mode WebAuthor

Thu Jun 15, 2017 10:07 pm

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
mihaela
Posts: 169

Re: Schema Aware Editing Mode WebAuthor

Fri Jun 16, 2017 11:17 am

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
Mihaela Calotescu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
jacobBocaj
Posts: 12

Re: Schema Aware Editing Mode WebAuthor

Fri Jun 16, 2017 8:26 pm

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
mihaela
Posts: 169

Re: Schema Aware Editing Mode WebAuthor

Mon Jun 19, 2017 9:04 am

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
Mihaela Calotescu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
mihaela
Posts: 169

Re: Schema Aware Editing Mode WebAuthor

Mon Oct 02, 2017 4:02 pm

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
Mihaela Calotescu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 3 guests