Browning, Jamie wrote:
All
Am I right in assuming that forward references in marker elements no
longer work in FOP 0.9x? My assumption is based on the fact that the
marker examples included in the binary dist for both 0.94 and 0.95beta
are throwing a NullPointerException.
A NPE is bad indeed. Can you open a bug in bugzilla and attach some
sample FO that demonstrates the problem?
https://issues.apache.org/bugzilla/index.cgi
For example: I need to different footers to appear in my document
depending on the current location. I have previously implemented these
using markers, where a new marker is added after the point in the
document where the footer needs to change is reached.
Despite of the NPE, markers are not supposed to be forward referencable.
The fo:retrieve-marker is supposed to look on the current page and
previous pages, never subsequent pages. However, it should still be
possible to achieve changing footers using markers, but you will need to
ensure that markers occur more frequently within the document so that a
forward lookup is not required.
I haven’t included any source code in this mail because it seems like a
well known issue. I can add some source if further clarification is
required.
Thanks,
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]