Using conref in a submap

Post here questions and problems related to editing and publishing DITA content.
ann.jensen
Posts: 295
Joined: Wed Jun 17, 2015 10:19 am

Using conref in a submap

Post by ann.jensen »

Hi,
I have defined topic file in my root map for defining all my conrefs using <ph> elements. These are then used across the root map topics and other submap topics.
When I insert a conref in a topic title within a submap 3 map levels down I am seeing the conref value 4 times in the Maps Manager view for this topic :-|
It was also visible in the Author view for the topic title but seems to have since disappeared again. Also it is not a problem when I generate the Web Help output for the map.

Does anyone know what may be causing this and if using a single topic file for conrefs in the root map is a good approach?
Thanks in advance,
Ann
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Using conref in a submap

Post by Radu »

Dear Ann,

We fixed a similar issue a couple of weeks ago related to the fact that when you used Refresh in the DITA Maps Manager and a topic was opened in the main editor, the title of the topic was getting doubled each time the refresh was invoked in the DITA Maps Manager.
But I'm not 100% sure if this is the problem in your case.
It would be great if you could take some time to prepare a small DITA project exhibiting the problem and send it to us (support@oxygenxml.com). I could test if the issue is fixed or not before we release Oxygen 17.1 (in about a month or so).

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ann.jensen
Posts: 295
Joined: Wed Jun 17, 2015 10:19 am

Re: Using conref in a submap

Post by ann.jensen »

Hi Radu,
I have just created a simple map that includes one concept topic and a topic that holds my conrefs.
When I used a conref in the title of my concept I see the same issue i.e. the conref value appears multiple times in the map view for the concept title. However, the problem goes away when I close down the map and reopen it :-|

Map code

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Conref Issue Map</title>
<mapref href="t_content_refs.dita"/>
<topicref href="c_test_concept.dita"/>
</map>
Conref topic code

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="topic_hvy_yz5_ft">
<title>conrefs</title>
<body>
<p>
<ph id="iagent">Aspen iAgent®</ph>
<ph id="iproperty">Aspen iProperty®</ph>
<ph id="ilearn">Aspen iLearn™</ph>
<ph id="ivendor">Aspen iVendor®</ph>
<ph id="ifamily">Aspen iFamily™</ph>
</p>
</body>
</topic>
Concept topic code

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="concept_nxd_gbs_ht">
<title><ph conref="c_conrefs.dita#topic_hvy_yz5_ft/iagent"/></title>
<shortdesc></shortdesc>
<conbody>
<p></p>
</conbody>
</concept>
Regards,
Ann
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Using conref in a submap

Post by Radu »

Hi Ann,

Thanks for the samples.
I can confirm we had a bug in Oxygen 17.0 and that Oxygen 17.1 which will be released in about a month will no longer have this issue.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ann.jensen
Posts: 295
Joined: Wed Jun 17, 2015 10:19 am

Re: Using conref in a submap

Post by ann.jensen »

Thank you for your reply Radu.
That's good to know.
Regards,
Ann
Post Reply