Unwanted incorrect xml:id attributes being inserted

Having trouble installing Oxygen? Got a bug to report? Post it all here.
martindholmes
Posts: 190
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Unwanted incorrect xml:id attributes being inserted

Post by martindholmes »

When we have a RELAXNG schema that prescribes a mandatory xml:id attribute on an element, when we type an angle bracket, get a suggestion for the element, and accept the suggestion, the structure that is inserted includes a bogus made-up xml:id attribute value. We didn't ask for this and we don't want it -- is it some kind of AI thing? How can we turn it off? We can't find any setting in the preferences that relates to this.
tavy
Posts: 388
Joined: Thu Jul 01, 2004 12:29 pm

Re: Unwanted incorrect xml:id attributes being inserted

Post by tavy »

Hello,
Thanks for the feedback.

Starting with Oxygen version 26.1, when an ID-type attribute is inserted using the Content Completion Assistant, a unique value is automatically generated for it. If you don't want to insert the attribute automatically, you can deactivate the "Insert the required attributes" option. To do this, go to Options > Preferences > Editor > Content Completion options page.

You can read more about this in our user manual:
https://www.oxygenxml.com/doc/versions/ ... attributes

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply