Autocompletion for elements with IDREF data type
Posted: Mon Aug 20, 2018 2:36 pm
We have the following sample structucture:
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,
Andreas
Code: Select all
<test>
<author>
<ID>Cicero</ID>
<City>Rome</City>
</author>
<book>
<author>
<IDREF>Cicero</IDREF>
</author>
</book>
</test>
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,
Andreas