#1107 inline.monoseq anchor id missing

closed-fixed
nobody
XSL (1066)
5
2010-09-27
2010-05-08
No

Symptom: for pdf output, FOP reports missing id's. HTML output works fine. Fails on both 1.72.0 and 1.75.2

failing input source snippet - "varname" has an id, which is not being inserted into the generate .fo output (I looked):
<listitem> <para><varname xml:id="ConceptMapper.res.dictionaryfile" xreflabel="DictionaryFile">DictionaryFile</varname>: <emphasis>[Dictionary Resource]</emphasis> <type>Boolean</type> </para></listitem>

failure: the xml:id is not handled

template sequence: varname calls inline.monoseq.

Comparing the working html inline.monoseq and the fo version, the fo version is missing the call to the "anchor" template.

Here's a customization override of the inline.monoseq that works in 1.75.2:
<xsl:template name="inline.monoseq">
<xsl:param name="content">
<xsl:call-template name="simple.xlink">
<xsl:with-param name="content">
<xsl:apply-templates />
</xsl:with-param>
</xsl:call-template>
</xsl:param>
<fo:inline xsl:use-attribute-sets="monospace.properties">
<xsl:call-template name="anchor"/> <!-- ************* HERE'S THE FIX, rest of lines unchanged ************ -->
<xsl:if test="@dir">
<xsl:attribute name="direction">
<xsl:choose>
<xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
<xsl:otherwise>rtl</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:if>
<xsl:copy-of select="$content" />
</fo:inline>
</xsl:template>

Toolchain: maven docbkx

Discussion

  • Mauritz Jeanson

    Mauritz Jeanson - 2010-07-22
    • status: open --> open-fixed
     
  • Mauritz Jeanson

    Mauritz Jeanson - 2010-07-22

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
  • Mauritz Jeanson

    Mauritz Jeanson - 2010-07-22
    • status: open-fixed --> pending-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.