Warning for keyref in ditamap?
Posted: Mon Jan 20, 2020 7:23 pm
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.
oXygen warns me:
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...
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>
The file rebuilding-docs exists. And if I rebuild the DITA-OT 3.4 documentation, the content appears in the output.Key definition 'rebuilding-docs' not found in the DITA Map. Keys are gathered from the root map: customization.ditamap.
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...