conkeyref does not work however conref does

Having trouble installing Oxygen? Got a bug to report? Post it all here.
DebD
Posts: 2
Joined: Thu Dec 06, 2018 6:36 pm

conkeyref does not work however conref does

Post by DebD »

Hi,
It's been a couple of years since I've worked with Oxygen. I'm trying to implement a conkeyref but when I publish the doc with a transform I get the error "Unable to find target for conref="../../../common/product_names.dita#sdk" and the reference does not appear in the publication. If I use a conref, the transform succeeds and the referenced text appears.

The main map calls the map that contains my keydef :

Code: Select all


 <topicref href="../maps/prod_names.ditamap" format="ditamap" processing-role="resource-only"/>
prod_names.ditmap is as follows:

Code: Select all


<map>
<title>product names</title>
<topicgroup>
<keydef keys="prod_names" href="../common/product_names.dita"></keydef>
</topicgroup>
</map>
the product_names-dita is a concept topic with the following content:

Code: Select all


<concept id="prod_names">
<title>prod_names</title>
<shortdesc></shortdesc>
<conbody>
<p>
<cmdname id="sdk">SDK</cmdname>
</p>
</conbody>
</concept>
The conkeyref call is in a file named installing_sdk.dita looks like this:

Code: Select all


 <context>
<ul>
<li>
<cmdname conkeyref="prod_names/sdk"/>
<cmdname>test</cmdname>
<cmdname conref="../../common/product_names.dita#prod_names/sdk"/>
package, which includes the API DLL, header file, and supporting
documentation.</li>
.....
</context>
Thanks in advance!
Debbie
Radu
Posts: 9451
Joined: Fri Jul 09, 2004 5:18 pm

Re: conkeyref does not work however conref does

Post by Radu »

Hi Debbie,

What version of Oxygen are you using?
Please try to come up with a small sample DITA project exhibiting the problem, zip it and send it to us via email (support@oxygenxml.com). I will try to find some time to look into this.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply