dita-ot: Any link to a dlentry element is broken in PDF

With either DITA OT 1.8 and 2.x:

I have a topic with a definition list containing a dlentry:

    <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
    <topic id="gogu">
      <title>GOGU</title>
      <body>
        <p><dl>
            <dlentry id="dlentry_spq_wtg_r5">
              <dt>aaaa</dt>
              <dd>bbbbbb</dd>
            </dlentry>
          </dl></p>
      </body>
    </topic>

and a topic which has a link to it:

    <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
    <topic id="gigi">
      <title>GIGI</title>
      <body>
        <p><xref href="gogu.dita#gogu/dlentry_spq_wtg_r5">THIS IS A TEST</xref></p>
      </body>
    </topic>

In the PDF output, the link is broken, when Apache FOP processes, it issues warnings like:

  [fop] 7764 WARN [ main ] org.apache.fop.apps.FOUserAgent - Page 3: Unresolved ID reference "unique_2_Connect_42_dlentry_spq_wtg_r5" found.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (16 by maintainers)

Commits related to this issue

Most upvoted comments

Closed with #1764 as described above.