Bug with ${id} / auto generated id?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 81
- Joined: Mon Mar 05, 2012 5:23 pm
Bug with ${id} / auto generated id?
Hi,
for years now, we're using in an customized Oxygen Framework the editor variable ${id} in a template file for a TEI-XML document:
Until 17.1 it works very well. Since we want to migrate to Oxygen 20.1 we encouter a problem: the editor variable ${id} doesn't work. Instead of inserting a random ID, Oxygen XML Author inserts the Filename in TEI/@xml:id.
After some search I have found the "Generating IDs for Elements in Author Mode" (introduced in version 18.0). After that I tried to deactivate "Use the file name as the value of the root ID attribute" in "Options > DITA > New Topics". And it works! But I wonder if that is intended, because we're using TEI files and have just an customized, TEI-based Oxygen Framework activated. All other frameworks are deactivated.
Kind regards,
Stefan
for years now, we're using in an customized Oxygen Framework the editor variable ${id} in a template file for a TEI-XML document:
Code: Select all
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:id="prefix_${id}"> ...
After some search I have found the "Generating IDs for Elements in Author Mode" (introduced in version 18.0). After that I tried to deactivate "Use the file name as the value of the root ID attribute" in "Options > DITA > New Topics". And it works! But I wonder if that is intended, because we're using TEI files and have just an customized, TEI-based Oxygen Framework activated. All other frameworks are deactivated.
Kind regards,
Stefan
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Bug with ${id} / auto generated id?
Hi Stefan,
If possible please provide us the custom framework to test on our side, we have a tech support feedback form for this:
https://www.oxygenxml.com/techSupport.html
Regards,
Radu
If possible please provide us the custom framework to test on our side, we have a tech support feedback form for this:
https://www.oxygenxml.com/techSupport.html
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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