FOP
  1. FOP
  2. FOP-1380

FOP 0.93 is not resolving empty <fo:inline> index markers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 0.93
    • Fix Version/s: None
    • Component/s: renderer/pdf
    • Labels:
      None
    • Environment:
      Operating System: Windows Server 2003
      Platform: All
    • External issue ID:
      42748

      Description

      I’m using DocBook XSL 1.7.2.0 with FOP 0.93. When I generate a PDF, the
      indexterm elements have extra whitespace (from line breaks and tabs). I
      successfully removed the whitespace by editing one of the DocBook stylesheet
      templates. However, the page numbers in the index are missing. Also, FOP warns
      about unresolved ID references, such as this warning:

      WARNING: Page 9: Unresolved id reference "d0e127" found.

      When I open the FO file, here’s what one of the index entries looks like:

      <fo:block
      xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">Administration
      Console, <fo:basic-link internal-destination="d0e127"><fo:page-number-citation
      ref-id="d0e127"/></fo:basic-link></fo:block

      Here’s the internal destination it’s pointing to in the file:

      <fo:inline id="d0e127"><!-Administration Console-></fo:inline>

      As you can see, it’s an empty <fo:inline> marker, which is what I expect.
      However, FOP cannot resolve the reference.

      Jeff Powanda
      jpowanda@vocera.com

      1. IndexTest.xml
        100 kB
        Jeff Powanda

        Activity

        Jeff Powanda created issue -

          People

          • Assignee:
            fop-dev
            Reporter:
            Jeff Powanda
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development