]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Corrected the test for the empty last block. The XPath statement was wrong.
authorJeremias Maerki <jeremias@apache.org>
Wed, 1 Jun 2005 07:59:02 +0000 (07:59 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 1 Jun 2005 07:59:02 +0000 (07:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198712 13f79535-47bb-0310-9956-ffa450edef68

test/layoutengine/testcases/footnotes2.xml

index 55bf352b83836ff87744c78e95cdbe8a169a31ec..ee55fc16edb59419e6513f9d1ddbd424219f4386 100644 (file)
@@ -96,8 +96,8 @@
     <eval expected="filling 15..." xpath="//pageViewport[2]/page/regionViewport/regionBody/mainReference/span/flow/block[last()]/lineArea"/>
     <eval expected="filling 16..." xpath="//pageViewport[3]/page/regionViewport/regionBody/mainReference/span/flow/block[1]/lineArea"/>
     <!-- last block on page 3 -->
-    <eval expected="360000" xpath="//pageViewport[3]/page/regionViewport/regionBody/footnote/block[last()]/@ipd"/>
-    <eval expected="0" xpath="//pageViewport[3]/page/regionViewport/regionBody/footnote/block[last()]/@bpd"/>
+    <eval expected="360000" xpath="//pageViewport[3]/page/regionViewport/regionBody/mainReference/span/flow/block[last()]/@ipd"/>
+    <eval expected="0" xpath="//pageViewport[3]/page/regionViewport/regionBody/mainReference/span/flow/block[last()]/@bpd"/>
     <!-- the footnotes on page 3 -->
     <eval expected="2" xpath="count(//pageViewport[3]/page/regionViewport/regionBody/footnote/block)"/>
     <eval expected="360000" xpath="//pageViewport[3]/page/regionViewport/regionBody/footnote/block[1]/@ipd"/>