Search found 5 matches

by paul123
Fri Sep 14, 2012 12:21 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 6735

Re: Preventing Invalid Xml

Thanks Mihaela.
mihaela wrote:Have you created a framework for your document or are you trying to edit a simple XML that has a schema associated?
Yeah, we have a framework for the document, and code completion suggests the relevant elements, etc.
by paul123
Thu Sep 13, 2012 4:48 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 6735

Re: Preventing Invalid Xml

Yeah, that's what we had before. The behaviour in the Authoring Component doesn't seem to differ whether we have that whole <entry> in or not. i.e. we're able to do changes to make a document invalid, e.g. delete something with minOccurs="1" in the schema. Whereas within Oxygen itself, eve...
by paul123
Thu Sep 13, 2012 4:17 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 6735

Re: Preventing Invalid Xml

mihaela wrote:Are you sure that any of your options set in options.xml are applied to the Author component?
Yep - that gives a lovely shade of red background...
by paul123
Thu Sep 13, 2012 3:55 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 6735

Re: Preventing Invalid Xml

The value of the "isVerifyDeleteElementTagsAction" field is taken into consideration only if the "schemaAwareEditingMode" field value is set to "schema_aware_editing_custom". Make sure that you have this field set in your options.xml. Thanks for the quick reply! Yes, w...
by paul123
Thu Sep 13, 2012 2:03 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 6735

Re: Preventing Invalid Xml

Hi, On this: Is there a way of restricting the Author application to only allow actions which pass a given Schema (similar to what happens with the copy and paste actions)? So that we don’t have to code all the data model restrictions? No, currently only the insert operations are schema aware. Maybe...