You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by James Ashton <ja...@yahoo.com> on 2002/10/24 19:43:14 UTC
The plot thickens !! (RE: Problems rendering PDF dynamically, but identical fop xml works fine when sent straight to serializer)
Cheers Robert (I'll test that out tomorrow - am away from
my dev machine now - although another test described below
seems to suggest that my Cocoon installation is fine.)
Earlier I decided to load the page in netscape 6 instead -
it worked, switch back to IE 6 - doesn't work.
Has anybody else experienced problems where PDFs are
delivered to Netscape but not IE.
Everything works fine under Tomcat 4.0.1, but not 4.0.3 or
4.1.12 , and as far as I am aware, everything else is the
same in terms of the Cocoon installation, and everything
else that I've tested works in all three Tomcat versions.
any help will be much appreciated.
--- robert_hitchins@cargill.com wrote: > James,
>
> Ran into something similar...this may help: Make sure
> that the fop JAR
> file version inside Cocoon is the same as the one you use
> when you
> serialize. I had fop-0.20.4.jar running from the command
> line and
> fop-0.20.3.jar running inside Cocoon and noticed some
> anomalies.
>
> Hope this helps!
>
> Bob
>
> -----Original Message-----
> From: jamesashton@yahoo.com
> [mailto:jamesashton@yahoo.com]
> Sent: Thursday, October 24, 2002 7:42 AM
> To: cocoon-users@xml.apache.org
> Subject: Problems rendering PDF dynamically, but
> identical fop xml works
> fine when sent straight to serializer
>
>
> Been doing some fairly sophisticated XML > FO
> transformations.
>
> However, when I try to view the finished PDF, The
> Acrobat
> reader reports this error in the status bar:
>
> "An error has occurred while trying to use this
> document."
>
> What is interesting is that if I serialize FO to xml
> rather
> than using fo2pdf, then the FO works fine. If I save the
> XML and create a new pipeline entry to render that saved
> xml as a pdf using fo2pdf then it works.
> So the transformation seems to be OK, and rendering
> static
> XML as PDFs is OK.
>
> Has anyone experienced similar problems - and if so how
> did
> you resolve it ??
>
> Please Help Me ,
>
> James
>
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
>
---------------------------------------------------------------------
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:
> <co...@xml.apache.org>
> For additional commands, e-mail:
> <co...@xml.apache.org>
>
>
>
>
---------------------------------------------------------------------
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:
> <co...@xml.apache.org>
> For additional commands, e-mail:
> <co...@xml.apache.org>
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>