I'm trying to correct the footnotes handling, as the testfile
footnotes2.xml does not pass yet.
I succeeded in handling a page-dependent footnote separator, with the
reasonable (at least IMO) assumption that the separator bpd does not
change, but there is a check I don't understand:
[...]
<!-- 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"/>
[...]
Why should the last footnote block have bpd = 0?
Regards
Luca