Autocompletion for elements with IDREF data type

<oXygen/> general issues.
Posts: 4

Autocompletion for elements with IDREF data type

Mon Aug 20, 2018 2:36 pm

We have the following sample structucture:

Code: Select all


We apply an XML Schema where the element ID is of type xs:ID and the element IDREF has the type xs:IDREF.

If attributes are defined with types xs:ID and xs:IDREF the auto-completion in Oxygen works fine and you can select for the attribute with type xs:IDREF the values in the document that are of type xs:ID. If this is done with elements it does not work. Did I oversee anything or is there a reason why this is restricted to attributes?

Many thanks,

Posts: 5688

Re: Autocompletion for elements with IDREF data type

Mon Aug 20, 2018 4:05 pm

Hi Andreas,

Indeed I tested and right now Oxygen does not properly gather ID values defined inside element text content. This has never worked in Oxygen and you are the first one reporting it so probably there are not that many people using ID/IDREFs with element values.
I think we can make this work though, I'll add an internal issue for it. The next Oxygen release is at the beginning of 2019 and I'll update this forum thread when a fix is available.
If this you want to work with this sooner I can provide you with a beta kit if this impedes your work.

Radu Coravu
<oXygen/> XML Editor

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 2 guests