https://issues.apache.org/bugzilla/show_bug.cgi?id=49763
Summary: Regression: Incorrect message when encountering a
block in an inline in a footnote
Product: Fop
Version: 1.0
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: general
AssignedTo: [email protected]
ReportedBy: [email protected]
When transforming an FO with this content:
<footnote>
<inline>1</inline>
<footnote-body>
<block><inline><block/></inline></block>
</footnote-body>
</footnote>
The new FOP 1.0 incorrectly reports:
net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException:
"fo:inline" is not a valid child of "fo:block"! (See position 117:-1)
while the old 0.95 was corect in saying:
net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException:
Error(117/-1): fo:block is not a valid child element of fo:inline: An
fo:inline that is a descendant of an fo:leader or fo:footnote may not have
block-level children, unless it has a nearer ancestor that is an
fo:inline-container.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.