On 01/18/2017 12:02 PM, Grundtvig Nielsen Niels wrote:
I’m puzzled again :-} by some sort of discrepancy I can’t see the reason
for …



I have an ordinary ditamap that includes three <keydef> elements before
the first <topicref>.



The option 'use as master' document is not selected. The first topic
file included in the book uses a <keyword> element, as shown, which
resolves without problems when the map is converted to .pdf



<p>Close the battery cover after attaching the debug box to the <keyword
keyref="product"/>.</p>





I have a bookmap which includes three <keydef> elements in the
<frontmatter>, before the generated toc, figurelist and tablelist. The
option 'use as master' document is selected.



The first topic file included in the book uses a <keyword> element, as
shown, which fails to resolve when the map is converted to .pdf



<p>The information in this document is subject to change without notice
and shall not be construed as a commitment by <keyword keyref="awl"/>
S.A./N.V.</p>



The command execution log says
'file:/T:/spica/history_spica.dita:176:51: cannot resolve
keyref="release" and there is no href fallback attribute'



I'm hoping the problem is related to where I have defined the <keydef>
elements.

No, <keydef> may be specified anywhere it is valid to do so.




Let me know if you need to compare the two map files, and
thanks in advance.

Sure. I *always* need sample files allowing me to reproduce the problem.

I've tried to reproduce the problem using attached files and as expected, it worked just fine.





<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN"
"bookmap.dtd">
<bookmap>
  <title>Test</title>

  <frontmatter>
    <booklists>
      <toc/>
    </booklists>

    <keydef keys="awl">
      <topicmeta>
        <keywords>
          <keyword>Value of keydef awl!</keyword>
        </keywords>
      </topicmeta>
    </keydef>
  </frontmatter>

  <chapter href="chapter.dita"/>

  <backmatter>
    <booklists>
      <indexlist/>
    </booklists>
  </backmatter>
</bookmap>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
"concept.dtd">
<concept id="chapter">
  <title>Chapter</title>

  <conbody>
    <p>The information in this document is subject to change without notice
    and shall not be construed as a commitment by <keyword keyref="awl"/>
    S.A./N.V.</p>
  </conbody>
</concept>

Attachment: book.pdf
Description: Adobe PDF document

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to