Bug 30847

Summary: [patch] Block.java loop terminator fails due to a bug
Product: Fop - Now in Jira Reporter: tagunov
Component: page-master/layoutAssignee: fop-dev
Status: CLOSED FIXED    
Severity: critical    
Priority: P1    
Version: 0.20.5   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: Fix that terminates endless loop in one particular case
the same fix now with a correct mime type
Bang! Prev patch was buggy. THIS IS THE PATCH!!!
Sample input files

Description tagunov 2004-08-25 14:11:02 UTC
#8778 was fixed with a really helpful patch, but a small bug(?) in Block.java does not fix #8778 to always work as expected. Please review this patch and apply if correct.
Comment 1 tagunov 2004-08-25 14:12:35 UTC
Created attachment 12524 [details]
Fix that terminates endless loop in one particular case
Comment 2 tagunov 2004-08-25 14:13:29 UTC
Created attachment 12525 [details]
the same fix now with a correct mime type
Comment 3 tagunov 2004-08-25 14:23:20 UTC
Created attachment 12526 [details]
Bang! Prev patch was buggy. THIS IS THE PATCH!!!
Comment 4 tagunov 2004-08-25 17:02:19 UTC
Created attachment 12528 [details]
Sample input files
Comment 5 tagunov 2004-08-25 17:04:06 UTC
Bug #8778 is fixed.
A loop terminator has been built into Block#layout.
However it looks like line terminator fails on some input files - sample provided.
The proposed patch fixes the problem.

Please review and apply if appropriate.
Comment 6 Pascal Sancho 2007-11-20 01:43:31 UTC
Fixed in FOP 0.94 and probably earlier versions
Comment 7 Glenn Adams 2012-04-01 06:29:37 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed