Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.0
-
None
-
None
-
Operating System: All
Platform: All
-
49763
Description
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.