The following conditions cause what appears to be an infinite loop in the fop processor: - fo:flow defined with multiple columns - fo:block #1 contains just one single external graphic - fo:block #2 (follows fo:block #1) has attribute span="all" I will include the .fo file. I am running JDK1.3.0_02. The command used: fop columnbug.fo columnbug.pdf
I am having problems attaching a file. Here is the file columnbug.fo: <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:html="http://www.w3.org/TR/REC-html40"> <fo:layout-master-set> <fo:simple-page-master margin-right="2cm" margin-left="2cm" margin-bottom="2cm" margin-top="1cm" page-width="25cm" page-height="29.7cm" master-name="simple"> <fo:region-body column-gap="2cm" column-count="2" margin-top="3cm"/> <fo:region-before extent="3cm"/> <fo:region-after extent="1.5cm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="simple"> <fo:flow flow-name="xsl-region-body"> <fo:block text-align="center"> <fo:external-graphic width="7cm" src="file:columnbug.jpg"/> </fo:block> <fo:block span="all"> Text that spans all </fo:block> </fo:flow> </fo:page-sequence> Please add your own image and call it columnbug.jpg. Any jpeg image should do.
Works with latest Trunk (rev 584703), and probably in FOP 0.94, on JVM 1.5 This should either be closed, or tested with JVM 1.3 (depending on decision for JVM support)
batch transition to closed remaining pre-FOP1.0 resolved bugs