Conrefing a topicref to a chunked map not supported or done wrong?
Posted: Fri Dec 21, 2018 11:01 am
Hi there,
I'm trying to create a conref to a topicref that in turn points to a chunked map, and it's not working. Using DITA-OT 3.2 in Oxygen. Here's a sample of what I'm trying to do:
Chunked map map.ditamap
The map with the references:
Converting this to HTML results in the following error:
The transformation succeeds but the conref isn't resolved, leaving the latter topicref in map.ditamap out completely.
The ID that I'm referring to is 100 % there and correct. Is this functionality not supported in Oxygen/DITA-OT or am I doing something wrong?
If this is not supported, could you give me pointers on how I could create two topicrefs to the same chunked map so that they both refer to the same filename in the transformed output. If I use, for example, <mapref> in either one, the latter one refers to Chunk123456.html and the first one to topic-chunk.dita (copy-to name of chunk), so I though conref would be the logical choice here.
Regards,
Tino
I'm trying to create a conref to a topicref that in turn points to a chunked map, and it's not working. Using DITA-OT 3.2 in Oxygen. Here's a sample of what I'm trying to do:
Chunked map map.ditamap
Code: Select all
<map>
<topicref href="parent-topic.dita#parent-topic" keyscope="Asdcorp" chunk="to-content select-topic by-document" copy-to="topic-chunk.dita">
<keydef keys="service-name">
<topicmeta>
<keywords>
<keyword>Brand name</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="service-extranet">
<topicmeta>
<keywords>
<keyword>Extranet</keyword>
</keywords>
</topicmeta>
</keydef>
<topicref href="topic1.dita#topic1" toc="no">
<topicref href="topic2.dita#topic2" toc="no"/>
<topicref href="topic3.dita#topic3" toc="no"/>
</topicref>
</topicref>
</map>
Code: Select all
<map>
<topicref href="map.ditamap" format="ditamap" id="topic-chunk"/>
<topicref conref="#topic-chunk" format="ditamap"/>
</map>
Code: Select all
[DOTX010E]: Unable to find target for conref="#topic-chunk".
The ID that I'm referring to is 100 % there and correct. Is this functionality not supported in Oxygen/DITA-OT or am I doing something wrong?
If this is not supported, could you give me pointers on how I could create two topicrefs to the same chunked map so that they both refer to the same filename in the transformed output. If I use, for example, <mapref> in either one, the latter one refers to Chunk123456.html and the first one to topic-chunk.dita (copy-to name of chunk), so I though conref would be the logical choice here.
Regards,
Tino