Autocompletion for elements with IDREF data type
Oxygen general issues.
-
- Posts: 4
- Joined: Fri Nov 25, 2016 1:27 pm
Autocompletion for elements with IDREF data type
Post by andreas_tai »
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
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Autocompletion for elements with IDREF data type
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.
Regards,
Radu
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.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Autocompletion for elements with IDREF data type
Hi,
Just to update this thread, we released Oxygen 21 and it now supports auto completion in IDREF elements for XML Schema.
Regards,
Radu
Just to update this thread, we released Oxygen 21 and it now supports auto completion in IDREF elements for XML Schema.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
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