Mark Ivs wrote:
I encountered an endless loop problem in the addRealText method in FOText.java. "la.addText" in the while loop always returns 0. So the while statement goes into an endless loop. The way I fixed the problem is by adding a counter inside the while loop and once it exceeds the threshold (I set it to 50) I throw a FOP Exception. Has anyone else encountered this problem before ?
yes weve seen this problem a few times before.
Is this problem already reported in FOP bug list ?
take a look at:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21641
Also, please let me know if there is a better solution to fix this problem. I really appreciate your help.
I am using FOP0.20.5. This problem dosen't happen everytime. It happens only with certain data in the XML. So, not sure what triggers this.
Usually when your data is too big for a small area (like a table-cell)
One thing to note. I have hyphenate="true" in one of the fo:block. When I remove the hyphenate property, FOP never goes into endless loop.
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]