I try to transform this XML file

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>

 <fo:layout-master-set>
  <fo:simple-page-master master-name="page"
               page-width="297mm"
               page-height="28mm"
               margin-left="1cm"
               margin-right="1cm"
               margin-top="1cm"
               margin-bottom="1cm">
    <fo:region-before extent="1cm"/>
    <fo:region-body margin-top="1cm" margin-bottom="1.5cm"/>
    <fo:region-after extent="0.5cm"/>
  </fo:simple-page-master>
 </fo:layout-master-set>

 <fo:page-sequence master-reference="page">
   <fo:flow flow-name="xsl-region-body">
  <fo:block>Foo</fo:block>    </fo:flow>
 </fo:page-sequence>
</fo:root>

into a PDF.
I use this command line:
java -cp /opt/COCOON/WEB-INF/lib/batik-libs.jar:
/opt/COCOON/WEB-INF/lib/xerces-1.4.4.jar:
/opt/COCOON/WEB-INF/lib/avalon-framework-4.0.jar:
/opt/COCOON/WEB-INF/lib/logkit-1.0.jar:
/opt/COCOON/WEB-INF/lib/fop.jar org.apache.fop.apps.Fop
esqlsample.fo
file.pdf

It generates a HUGE PDF and never ends...

Did i miss something.



Reply via email to