Schema Aware Editing Mode WebAuthor
Oxygen general issues.
-
- Posts: 12
- Joined: Thu May 11, 2017 10:18 pm
Schema Aware Editing Mode WebAuthor
Post 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=isVerifyDeleteElem ... ion#p22654.
Any help will be appreciated,
Jacob
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=isVerifyDeleteElem ... ion#p22654.
Any help will be appreciated,
Jacob
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Schema Aware Editing Mode WebAuthor
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
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
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 12
- Joined: Thu May 11, 2017 10:18 pm
Re: Schema Aware Editing Mode WebAuthor
Post 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
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
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Schema Aware Editing Mode WebAuthor
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
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
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Schema Aware Editing Mode WebAuthor
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
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
http://www.oxygenxml.com
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service