- From: Michael Galpin <mgalpin@rmx.com>
- Date: Tue, 23 Jul 2002 20:39:49 -0400 (EDT)
- To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>
I have a simple FO doc that is getting stuck in an infinite loop when using FOP. The loop involves the PDFLink object and its toPDF() method. As such, the resulting PDF document is created and becomes infinite in size. This is the FO doc: <?xml version = '1.0' encoding = 'utf-8'?> <fo:root writing-mode="lr-tb" hyphenate="false" text-align="start" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:html="http://www.w3.org/1999/xhtml" role="html:html"> <fo:layout-master-set> <fo:simple-page-master page-width="auto" page-height="auto" master-name="all-pages"> <fo:region-body margin-top="1in" margin-right="1in" margin-bottom="1in" margin-left="1in" column-count="1" column-gap="12pt"/> <fo:region-before region-name="page-header" extent="1in" display-align="before"/> <fo:region-after region-name="page-footer" extent="1in" display-align="after"/> <fo:region-start extent="1in"/> <fo:region-end extent="1in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="all-pages"> <fo:title>Hello World</fo:title> <fo:static-content flow-name="page-header"> <fo:block font-size="small" text-align="center" space-before.conditionality="retain" space-before="0.5in"> Hello World </fo:block> </fo:static-content> <fo:static-content flow-name="page-footer"> <fo:block font-size="small" text-align="center" space-after.conditionality="retain" space-after="0.5in"> - <fo:page-number/> - </fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block role="html:body"> Hello World </fo:block> </fo:flow> </fo:page-sequence> </fo:root> The Java method being used is straight out of one of the embedded app examples, but can be supplied if needed. -- Michael Galpin mgalpin@rmx.com
Received on Wednesday, 24 July 2002 05:00:36 UTC