Warning for keyref in ditamap?

Post here questions and problems related to editing and publishing DITA content.
RBVanDyke
Posts: 88
Joined: Wed Feb 11, 2015 11:25 pm
Location: San Francisco, California USA
Contact:

Warning for keyref in ditamap?

Post by RBVanDyke »

For oXygen XML Editor 21.1, dita-ot-3.4.

This isn't so much a problem as it is something I'd like to understand.

In the DITA-OT map file customization.ditamap oXygen XML Editor 21.1 displays a warning about the line with the keyref.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<!--  This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license.  -->
<map>
  
  <!-- Five  mapref's  -->
  
  <mapref
    href="globalizing.ditamap"/>
  <topicref
    keyref="rebuilding-docs"/>
</map>
oXygen warns me:
Key definition 'rebuilding-docs' not found in the DITA Map. Keys are gathered from the root map: customization.ditamap.
The file rebuilding-docs exists. And if I rebuild the DITA-OT 3.4 documentation, the content appears in the output.

So why is oXygen XML warning me that the file is not found in the DITA Map?

Thanks in advance for any insights you can share...
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Warning for keyref in ditamap?

Post by Radu »

Hi Riley,

I cannot reproduce the problem on my side.
If you look in the DITA Maps Manager at the reference to that "globalizing.ditamap", is the node which refers to the map expandable? Can you expand it and see the contents of that submap?
If not, this might be an explanation, it might mean that in the Oxygen Preferences->"Document Type Association" maybe you have an extension of the "DITA" framework which has been changed to match also DITA Maps.

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