https://issues.apache.org/bugzilla/show_bug.cgi?id=52143

             Bug #: 52143
           Summary: Index term: "inline area not allowed under flow -
                    ignoring"
           Product: Fop
           Version: 0.95
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


When a chapter begins with search terms:

<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd";>
<chapter id="ch_library_io">
  <title>Library I/O</title>

  <indexterm>
    <primary>Library Input Output</primary>
  </indexterm>

  <indexterm>
    <primary>Library Input Output</primary>

    <secondary>Pipelines</secondary>
  </indexterm>
  ...

  <para>...</para>
</chapter>

FOP reports an error:

Nov 6, 2011 7:56:45 AM org.apache.fop.layoutmgr.FlowLayoutManager
getNextKnuthElements
SEVERE: inline area not allowed under flow - ignoring
Nov 6, 2011 7:56:45 AM org.apache.fop.layoutmgr.FlowLayoutManager
getNextKnuthElements
SEVERE: inline area not allowed under flow - ignoring
Nov 6, 2011 7:56:45 AM org.apache.fop.layoutmgr.FlowLayoutManager
getNextKnuthElements
...
Nov 6, 2011 7:56:48 AM org.apache.fop.area.RenderPagesModel checkPreparedPages
WARNING: Page 32: Unresolved id reference "id425772" found.
Nov 6, 2011 7:56:48 AM org.apache.fop.area.RenderPagesModel checkPreparedPages
WARNING: Page 32: Unresolved id reference "id432270" found.
Nov 6, 2011 7:56:48 AM org.apache.fop.area.RenderPagesModel checkPreparedPages
WARNING: Page 32: Unresolved id reference "id428378" found.

Xmllint does not report any issues:

xmllint --xinclude --postvalid --noout book.xml

The resulting index is similar to:

L
Library Input Output, 
    C Style, 
    Pipelines,
License, 1

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to