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 2012/04/02 23:56:38 UTC

DO NOT REPLY [Bug 53005] wrapper is not a block item

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|indexterm inside a footnote |wrapper is not a block item
                   |from docbook                |

--- Comment #5 from Glenn Adams <gl...@skynav.com> 2012-04-02 21:56:38 UTC ---
this bug is due to isBlockItem() returning true for wrapper

            } else if (!canHaveBlockLevelChildren && isBlockItem(nsURI,
localName)) {
                invalidChildError(loc, getParent().getName(), nsURI, getName(),
                                  "rule.inlineContent");
            } else {

in particular isBlockItem() returns true for block *or* neutral, so this
condition needs to be further qualified as:

            } else if (!canHaveBlockLevelChildren && isBlockItem(nsURI,
localName)
                         && !isNeutralItem(nsURI, localName)) {

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