You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2011/11/06 14:04:29 UTC

DO NOT REPLY [Bug 52143] New: Index term: "inline area not allowed under flow - ignoring"

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: fop-dev@xmlgraphics.apache.org
        ReportedBy: noloader@gmail.com
    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.

DO NOT REPLY [Bug 52143] Index term: "inline area not allowed under flow - ignoring"

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52143

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #2 from Glenn Adams <gl...@skynav.com> 2012-04-01 13:43:07 UTC ---
batch transition to closed for remaining resolved bugs

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

DO NOT REPLY [Bug 52143] Index term: "inline area not allowed under flow - ignoring"

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52143

Pascal Sancho <pa...@takoma.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Pascal Sancho <pa...@takoma.fr> 2011-11-07 09:12:23 UTC ---
Error message is very clear: fo:flow can only have (%block;)+ as content (see
XSL-FO ยง6.4.19 at [1]

Your XSM+XSLT results probably in an (%inline;) directly in the fo:flow.

You should have a look on the resulting XSL-FO to confirm that point.

If this is not the case, feel free to reopen this thread *and* attach a short
XSL-FO (not XSLT) that shows a FOP issue.

[1] http://www.w3.org/TR/xsl/#fo_flow

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