You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Mark Ivs <ma...@yahoo.com> on 2004/02/03 17:41:01 UTC

PageSequence.java endless loop problem

Hello,
    I encountered an endless loop problem in the
"format" method in PageSequence.java. There is a
do-while statement in that method which always sets
the status to 3 in my case, so the while loop never
terminates. I looked at the FOP bug report, and I
couldn't find any bug reported about this issue. Has
anyone experienced this problem ?    

Whats the best way to fix this problem ? 
This is what I tried.....
I can set a counter inside the while loop and if it
exceeded the threshold value(I set it 50), then set
the status to 1 ? When I did this, the endless loop
didn't happen. But I noticed the data was duplicated
numerous times in the generated PDF.

I am not a java expert and since I don't understand
FOP code in detail, I would really appreciate your
suggestions.

I am using FOP0.20.5. This problem happens only with
certain data in the xml.

Thanks for your time.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org