I was able to commit a change that avoids the NullPointerException.
However, there's a problem remaining that I cannot fix quickly. Your
markers may not be treated correctly or in other words: They won't be
added for the cases a table-cell produces an empty area as on page 9 in
your example. retrieve-marker might return the wrong values. Due to the
obfuscation of your document I cannot easily see if it affects you.

Note to fop-devs: If there are no Position instances returned by the
Iterator in AreaAdditionUtil.addAreas(), there's currently no way to
determine the first/last conditions for the addMarker calls. We have a
similar problem for page-number-citation-last where it's difficult to
know when the last area of an element is painted and the element is
essentially finished. We will need to find a way around that. Don't know
how, yet. I've added a test case that shows the problem.

http://svn.apache.org/viewvc?rev=407614&view=rev

On 18.05.2006 17:53:00 Arturo Perez wrote:
> Here's a zipped obfuscated fo file.  I did try removing the 
> keep-together="always" on the table rows but that resulted in a slightly 
> different crash.
> 
> Thanks so much for helping me with this.
> 
>  <<dir.zip>> 
> 
> -arturo
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to