cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: File does not begin with '%PDF-'
Date Mon, 22 Sep 2003 19:28:47 GMT
Howard, Gary wrote:

> I changed the transform type to html, and it dump out what I wanted.  I
> changed it back to fo2pdf and I get this error.  I will try to dump it to a
> file.

The "transform type" or the "serializer type"? I guess it's the 
serializer. This means you feed the fo2pdf serializer with HTML. You 
need a stylesheet that converts your XML to XSL Fo.


> -----Original Message-----
> From: J.Pietschmann []
> Howard, Gary wrote:
>>I keep getting this message box error when trying to generate a pdf using
>>xsl-fo.  I have tried everything.  I increased my memory on my JVM to 512.
>>I stripped the stylesheet down to the simplest example.  I am using an XML
>>generator to turn my session object into xml for the stylesheet.
> Everything
>>works with a sample XML file.  It doesn't work with the generator.  Does
>>anyone have any pointers?  Thanks in advance.
> Download the result into a file and view it in a text editor.
> I guess it's either empty, or contains some odd text, possibly
> indicating the cause of your problem.
> Does your stylesheet generate XSLFO (in contrast to, lets say,
> HTML)?
> J.Pietschmann

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message