You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Howard, Gary" <Ga...@CINFIN.com> on 2003/09/22 20:52:51 UTC
File does not begin with '%PDF-'
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: File does not begin with '%PDF-'
Posted by "J.Pietschmann" <j3...@yahoo.de>.
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org