On Jun 26, 2008, at 17:06, Browning, Jamie wrote:
Am I right in assuming that forward references in marker elements
no longer work in FOP 0.9x?
Not sure if I understand your question correctly...
Do you mean something like:
<fo:marker marker-class-name="sample"><fo:page-number-citation ref-
id="{$forward-reference}" /></fo:marker>
?
I assume so, as a fo:retrieve-marker can only retrieve markers from
the current or preceding pages. One cannot retrieve a marker that is
attached to an area on following pages.
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.
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.
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.
That would be very helpful, and save us some time. Crashing with a
NullPointerException is definitely buggy.
Thanks,
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]