I've just tried with the servlet and it works fine. Do what Oleg says.
Send us your java code (if you can).

Ramon.

-----Mensaje original-----
De: chandrakant_binwani [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 06 de junio de 2002 16:53
Para: [EMAIL PROTECTED]
Asunto: RE: Problem with PDF generation


Hi Ramon,
Could you tell me what versions of FOP and other things you used...
and most importantly... did you run them from command line...?
It works for me if i run them from command line....
but it doesn't work if i try to do so through a java program....


-----Original Message-----
From: Ramon Maria Gallart [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 8:10 PM
To: [EMAIL PROTECTED]
Subject: RE: Problem with PDF generation


It just work fine to me. I attach the resultant pdf.

Ramon

-----Mensaje original-----
De: chandrakant_binwani [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 06 de junio de 2002 16:35
Para: [EMAIL PROTECTED]
Asunto: RE: Problem with PDF generation


Pls find the attached files:



-----Original Message-----
From: Michiel Verhoef [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 8:02 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Problem with PDF generation


Just to see if I can get a decent fo file: could you send us your XSLT
and
XML files so we can
try the conversion?



$ -----Original Message-----
$ From: chandrakant_binwani [mailto:[EMAIL PROTECTED]
$ Sent: donderdag 6 juni 2002 16:32
$ To: [EMAIL PROTECTED]
$ Subject: RE: Problem with PDF generation
$ 
$ 
$ 
$ Tried that...
$ Still gives the same exception....
$ 
$ -----Original Message-----
$ From: Michiel Verhoef [mailto:[EMAIL PROTECTED]
$ Sent: Thursday, June 06, 2002 7:52 PM
$ To: '[EMAIL PROTECTED]'
$ Subject: RE: Problem with PDF generation
$ 
$ 
$ ehm, not sure if this helps but have you tried a different 
$ order of the
$ attributes?
$ 
$ 
$ <xsl:stylesheet version="1.0"
$  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
$   xmlns:fo="http://www.w3.org/1999/XSL/Format";>
$ 
$ I know it looks the same (except for the order) but perhaps 
$ fop needs the
$ attributes 
$ ordered like this?
$ 
$ Cheers,
$ 
$ Michiel
$ 
$ 
$ 
$ $ -----Original Message-----
$ $ From: chandrakant_binwani [mailto:[EMAIL PROTECTED]
$ $ Sent: donderdag 6 juni 2002 16:19
$ $ To: [EMAIL PROTECTED]
$ $ Subject: RE: Problem with PDF generation
$ $ 
$ $ 
$ $ 
$ $ Yes... the xsl has following lines :
$ $ 
$ $ <xsl:stylesheet
$ $      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
$ $      xmlns:fo="http://www.w3.org/1999/XSL/Format";>
$ $ 
$ $ 
$ $ -----Original Message-----
$ $ From: Michiel Verhoef [mailto:[EMAIL PROTECTED]
$ $ Sent: Thursday, June 06, 2002 7:38 PM
$ $ To: '[EMAIL PROTECTED]'
$ $ Subject: RE: Problem with PDF generation
$ $ 
$ $ 
$ $ I'm no java guru but it looks like your XSLT stylesheet is 
$ $ not correct.
$ $ Does it contain the following line?
$ $ 
$ $ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
$ $ version="1.0">
$ $ 
$ $ 
$ $ 
$ 

Reply via email to