Issue with index terms and topics with copy-to
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 47
- Joined: Thu Aug 27, 2015 9:28 pm
Issue with index terms and topics with copy-to
Hi,
I am not sure if the following is an issue wit the way my authors use indexterms.
We have a topic that in the map has @copy-to:
The topic has the following index terms:
In the index we get:
copyright information[1][2]
The first link goes to the filename set in the copy-to the second goes to the generated file based on the filename.
So in the generated index.xml file we see:
But both links should go to <target>copyright.html</target> or there should only be one link since they are both going to the same page.
The issue is the first link which goes to the copyright.html page the publication toc displays per our settings. But when I click on the second link which goes to s0_1416590873062.html the publication to does not display.
I have been trying to track down where the target is determined and why on goes to the correct copy-to entry and the second goes to the original file.
Thanks
Arron
I am not sure if the following is an issue wit the way my authors use indexterms.
We have a topic that in the map has @copy-to:
Code: Select all
<topicref class="- map/topicref " copy-to="copyright.xml" ixia_locid="1847"
keys="s0_1416590873062" href="s0_1416590873062.xml" type="concept">
Code: Select all
<indexterm ixia_locid="6" class="- topic/indexterm ">copyright
information</indexterm>
<indexterm ixia_locid="7" class="- topic/indexterm ">documentation<indexterm
ixia_locid="8" class="- topic/indexterm ">warranty statement</indexterm>
</indexterm>
<indexterm ixia_locid="9" class="- topic/indexterm ">manufacturer’s
responsibility</indexterm>
<indexterm ixia_locid="10" class="- topic/indexterm ">registered
trademarks</indexterm>
<indexterm ixia_locid="11" class="- topic/indexterm ">trademarks</indexterm>
<indexterm ixia_locid="12" class="- topic/indexterm ">warranty
statements</indexterm>
copyright information[1][2]
The first link goes to the filename set in the copy-to the second goes to the generated file based on the filename.
So in the generated index.xml file we see:
Code: Select all
<term name="copyright information" sort-as="copyright information">
<target>copyright.html</target>
<target>s0_1416590873062.html</target>
</term>
The issue is the first link which goes to the copyright.html page the publication toc displays per our settings. But when I click on the second link which goes to s0_1416590873062.html the publication to does not display.
I have been trying to track down where the target is determined and why on goes to the correct copy-to entry and the second goes to the original file.
Thanks
Arron
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Issue with index terms and topics with copy-to
Post by radu_pisoi »
Hi,
I can reproduce the issue you describe only when I use the copy-to attribute to rename the original topic. More specific, the original topic is not referred in the DITA map.
I'm not sure if this use case is valid, conforming with the DITA specs the copy-to attribute seems to be designed to get a duplicate version of the original and not to rename a topic.
https://www.oxygenxml.com/dita/1.3/spec ... butes.html
I can reproduce the issue you describe only when I use the copy-to attribute to rename the original topic. More specific, the original topic is not referred in the DITA map.
Code: Select all
<topicref href="test_topic.dita" copy-to="test_topic_renamed.dita"/>
https://www.oxygenxml.com/dita/1.3/spec ... butes.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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