Conrefing a topicref to a chunked map not supported or done wrong?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 20
- Joined: Fri Feb 20, 2015 10:25 am
Conrefing a topicref to a chunked map not supported or done wrong?
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
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Conrefing a topicref to a chunked map not supported or done wrong?
Hi Tino,
Maybe you could do this instead:
Thing is that a topicref to a DITA Map gets replaced in the publishing pre-processing steps directly with the topicrefs which are inside the DITA Map. So the topicref to the DITA Map with that specific @id disappears completely and cannot be found by the conref.
Actually I found an issue logged for this here:
https://github.com/dita-ot/dita-ot/issues/2265
Regards,
Radu
Maybe you could do this instead:
Code: Select all
<topicgroup id="topic-chunk">
<topicref href="test.ditamap" format="ditamap"/>
</topicgroup>
<topicgroup conref="#topic-chunk"/>
Actually I found an issue logged for this here:
https://github.com/dita-ot/dita-ot/issues/2265
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 20
- Joined: Fri Feb 20, 2015 10:25 am
Re: Conrefing a topicref to a chunked map not supported or done wrong?
Hi, this doesn't seem to work. I'm getting the following error:
THe problem seems to be with the chunking, since conrefing topicrefs to non-chunked topics works just as I expected.
Code: Select all
Transformation failed. /Applications/Oxygen XML Editor/frameworks/dita/dita-ot-3.2/plugins/org.dita.base/build_preprocess.xml:323: java.lang.IllegalArgumentException: URI has a fragment component
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Conrefing a topicref to a chunked map not supported or done wrong?
Hi,
Maybe you could create a zip file containing a small sample DITA project exhibiting the last problem and send it to our email (support@oxygenxml.com).
I could try to find some time to look into it.
Regards,
Radu
Maybe you could create a zip file containing a small sample DITA project exhibiting the last problem and send it to our email (support@oxygenxml.com).
I could try to find some time to look into it.
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