https://issues.apache.org/bugzilla/show_bug.cgi?id=53005
Bug #: 53005
Summary: indexterm inside a footnote from docbook
Product: Fop
Version: 1.0
Platform: PC
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: fo tree
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Was getting this error:
javax.xml.transform.TransformerException:
org.apache.fop.fo.ValidationException: "fo:inline" is not a valid child of
"fo:block"! (See position 1870:716)
After talking with the folks in the docbook XSLT mailing list, they helped me
finding out that:
""
Based on the .fo file that Alberto sent to me, this appears to be a bug in FOP
1.0. I can reproduce it by putting an indexterm inside an inline element
inside a footnote. In general, an indexterm generates an fo:wrapper element to
hold the indexterm id marker. When this fo:wrapper is inside an fo:inline, it
appears to confuse FOP, but only when inside a footnote. Removing the
fo:wrapper removes the error. All other locations with that construction do
not generate an error. Two other XSL-FO processors did not produce an error.
""
Somebody added:
""
FYI, until recently indexterms were not allowed inside footnotes at all:
http://www.docbook.org/tdg5/en/html/footnote.html
They are allowed with v5.1:
http://www.docbook.org/tdg51/en/html/footnote.html
""
Thank you,
Alberto
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.