Re: AW: AW: AW: Embedding FOP in Java

2002-09-21 Thread J.Pietschmann
Richard Van Deren wrote: I never got the logger to work. I hope that you post your solution. It looks like there are errors in the documentation. I read it several times. There was a change to avalon's logger. Then you can add your own via the LogKit. I tried it several ways. I get

AW: AW: AW: AW: Embedding FOP in Java

2002-09-20 Thread Amin Schoeib
: AW: Embedding FOP in Java Amin Schoeib wrote: I tried the code of JohnPT. ... java.lang.NullPointerException at org.apache.fop.fo.flow.Flow.setFlowName(Unknown Source) at org.apache.fop.fo.flow.Flow.init(Unknown Source) This is the real problem. Ensure your fo:flow has a flow name

Re: AW: AW: AW: AW: Embedding FOP in Java

2002-09-20 Thread Paul . Hussein
: Subject: AW: AW: AW: AW: Embedding FOP in Java Hi J.Pietschmann, Thanks for your help. Can you tell me, where I can download 0.20.5cvs version of FOP ??? Thanxx Schoeib -Ursprüngliche Nachricht- Von: J.Pietschmann [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 19. September 2002 21:46

AW: AW: AW: AW: AW: Embedding FOP in Java

2002-09-20 Thread Amin Schoeib
Under this adress I found only version 0.20.4! But where is the 0.20.5cvs version? -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 20. September 2002 14:35 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: AW: Embedding FOP in Java http

Re: Embedding FOP in Java

2002-09-20 Thread J.Pietschmann
Amin Schoeib wrote: Under this adress I found only version 0.20.4! But where is the 0.20.5cvs version? Get a CVS client application and look into docs/html-docs/download.html for further hints. J.Pietschmann - To

Re: AW: AW: AW: Embedding FOP in Java

2002-09-20 Thread Richard Van Deren
MAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 17. September 2002 16:31 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: Embedding FOP in Java I created a convenience class called PdfRenderer.  It cache's a stylesheet and then you can process files or streams throught it.  You can also pa

Re: AW: AW: AW: Embedding FOP in Java

2002-09-19 Thread jthaemlitz
to PDF java org.apache.fop.apps.Fop -fo styleOutput.fo -pdf resulting.pdf JohnPT PS: sorry about the outdated logger code. [EMAIL PROTECTED] 09/18/02 05:59 AM Please respond to fop-dev To:[EMAIL PROTECTED] cc: Subject:AW: AW: AW: Embedding FOP in Java Hi, I

Re: AW: AW: AW: Embedding FOP in Java

2002-09-19 Thread J.Pietschmann
Amin Schoeib wrote: I tried the code of JohnPT. ... java.lang.NullPointerException at org.apache.fop.fo.flow.Flow.setFlowName(Unknown Source) at org.apache.fop.fo.flow.Flow.init(Unknown Source) This is the real problem. Ensure your fo:flow has a flow name specified: fo:flow

AW: AW: AW: Embedding FOP in Java

2002-09-18 Thread Amin Schoeib
ff: Re: AW: AW: Embedding FOP in JavaI created a convenience class called PdfRenderer. It cache's a stylesheet and then you can process files or streams throught it. You can also pass parameters to your stylesheet with a hashtable (probably should have been a Hashmap). Anyway, it's n

AW: Embedding FOP in Java

2002-09-17 Thread Amin Schoeib
- Von: J.Pietschmann [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 16. September 2002 22:27 An: [EMAIL PROTECTED] Betreff: Re: Embedding FOP in Java Amin Schoeib wrote: Hi, I have a problem embedding FOP in Java. My code compile without any problems, but when I execute it, I become a list

Re: AW: Embedding FOP in Java

2002-09-17 Thread Christian Geisert
Amin Schoeib schrieb: Hi, I already use the newest version of XALAN. I use the following jar-files in my classpath: avalon-framework-cvs-20020315.jar batik.jar fop.jar xalan.jar xercesImpl.jar Are these the correct jar-files which I have to put in my classpath?? xml-apis.jar seems

AW: AW: Embedding FOP in Java

2002-09-17 Thread Amin Schoeib
. September 2002 12:52 An: [EMAIL PROTECTED] Betreff: Re: AW: Embedding FOP in Java Amin Schoeib schrieb: Hi, I already use the newest version of XALAN. I use the following jar-files in my classpath: avalon-framework-cvs-20020315.jar batik.jar fop.jar xalan.jar xercesImpl.jar

RE: AW: Embedding FOP in Java

2002-09-17 Thread Li, Francis
PROTECTED] Subject: AW: AW: Embedding FOP in Java Hi, I tried it also with adding the xml-apis.jar, but I become the same error. I use the newest version of FOP,XALAN and XERXES. What other things can make problems?? Thanxx Schoeib -Ursprüngliche Nachricht- Von: Christian Geisert [mailto

AW: AW: Embedding FOP in Java

2002-09-17 Thread Amin Schoeib
Hi, Can somebody please post a working example of an embedding FOP example with java. I need an example which can transform directly with a XML-File and and XSL-File into PDF. Please post also the needed jar-Files. Thanxx Schoeib -Ursprüngliche Nachricht- Von: Li, Francis [mailto

Re: AW: AW: Embedding FOP in Java

2002-09-17 Thread jthaemlitz
To:[EMAIL PROTECTED] cc: Subject:AW: AW: Embedding FOP in Java Hi, Can somebody please post a working example of an embedding FOP example with java. I need an example which can transform directly with a XML-File and and XSL-File into PDF. Please post also the needed jar-Files. Thanxx

Re: AW: Embedding FOP in Java

2002-09-17 Thread J.Pietschmann
Amin Schoeib wrote: I already use the newest version of XALAN. Quite a few people belive they use the latest or a specific version of whatever, often without any evidence and occasionally even without turning on their brain. Are these the correct jar-files which I have to put in my

Embedding FOP in servlet

2002-08-21 Thread siva
Hi friends, I'm new to FOP, I have requirement to generate PDF file from XML XSL... I have down loaded fop.0.20.4, trying to use FopServlet.java on tomcat3.2.2 but it throws lot of errors, inspite of following the procedure given in the docs... I'am not able to understand it... So, If

Problem in Embedding FOP in servlet

2002-08-13 Thread ssimha
Hi friends, I'm facing a problem in embedding FOP(0.20.4 version 13-Jun-2002) into my servlet... written a servlet to generate PDF file making use of XML and XSL files. It's works fine... when this servlet runs on tomcat3.1. BUT if I copy whole context to tomcat3.2.2 and above versions

Re: Problem in Embedding FOP in servlet

2002-08-13 Thread Jamal Mohamed A Abdul Sathar
check out ur xsl file is correct or in servlet did u pass xml and xsl file into XSLTInputhandler try out this and reply From: ssimha [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Problem in Embedding FOP in servlet Date: Tue, 13 Aug 2002 15:44:19 +0530 Hi

Re: Problem in Embedding FOP in servlet

2002-08-13 Thread ssimha
] Subject: Problem in Embedding FOP in servlet Date: Tue, 13 Aug 2002 15:44:19 +0530 Hi friends, I'm facing a problem in embedding FOP(0.20.4 version 13-Jun-2002) into my servlet... written a servlet to generate PDF file making use of XML and XSL files. It's works fine... when

Re: Problem in Embedding FOP in servlet

2002-08-13 Thread Oleg Tkachenko
ssimha wrote: I'm facing a problem in embedding FOP(0.20.4 version 13-Jun-2002) into my servlet... written a servlet to generate PDF file making use of XML and XSL files. It's works fine... when this servlet runs on tomcat3.1. BUT if I copy whole context to tomcat3.2.2 and above

AW: AW: AW: Embedding FOP in Servlet

2002-07-25 Thread Martin Ewald
much. Martin -Ursprüngliche Nachricht- Von: Christian Geisert [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 24. Juli 2002 19:08 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: Embedding FOP in Servlet Martin Ewald schrieb: Hi Oleg, I have searched all possibilities where a fop

AW: Embedding FOP in Servlet

2002-07-24 Thread Martin Ewald
Hi Oleg, first thanx for your response. It's indeed an ClassCastException. You're right, but fop.far is from July 2002, so it's new. I make an attempt from command line and wrote following short programm which works fine. Hmm! What is wrong with the servlet, what goes wrong during Driver driver

Re: AW: Embedding FOP in Servlet

2002-07-24 Thread Oleg Tkachenko
Martin Ewald wrote: first thanx for your response. It's indeed an ClassCastException. You're right, but fop.far is from July 2002, so it's new. I make an attempt from command line and wrote following short programm which works fine. Hmm! You could also run fop.bat (or fop.sh) script instead.

AW: AW: Embedding FOP in Servlet

2002-07-24 Thread Martin Ewald
Hi Oleg, I have searched all possibilities where a fop could be referenced by tomcat to be sure it's the only one. To test I've deleted the fop.jar from the subdirectory 'C:\jakarta-tomcat-4.0.1\webapps\fop\WEB-INF\lib' and the servlet fails completely because of missing classes. Then I have

Re: AW: AW: Embedding FOP in Servlet

2002-07-24 Thread Christian Geisert
Martin Ewald schrieb: Hi Oleg, I have searched all possibilities where a fop could be referenced by tomcat to be sure it's the only one. To test I've deleted the fop.jar from the subdirectory 'C:\jakarta-tomcat-4.0.1\webapps\fop\WEB-INF\lib' and the servlet fails completely because of

Re: Embedding FOP

2002-04-19 Thread Hans-Jürgen Wiesner
Rhett Aultman schrieb: This may sound like a bizarre question, but you are transforming the XHTML to a FO document before you attemt to render it, right? To the best of my knowledge, you must perform your own transforms and provide FOP with valid FO. Are you using a technique like

Re: Embedding FOP

2002-04-19 Thread Keiron Liddle
The difference, though subtle, is that the you are not using the parser from the XSLTInputHandler. Calling get parser sets a boolean value which enables the transformation. Otherwise it simply returns a file input source for the xml file. So get the parser from the XSLTInputSource. .. and we

RE: Embedding FOP

2002-04-18 Thread Rhett Aultman
-Original Message- From: Hans-Jürgen Wiesner [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 10:21 AM To: [EMAIL PROTECTED] Subject: Embedding FOP [snip] INFO10191 [fop ] (): building formatting object tree DEBUG 10191 [fop ] (): setting up fonts ERROR

Re: Embedding FOP

2002-04-18 Thread J.Pietschmann
succeeded in installing a filter intercepting the JSP-Servlets output to convert it by calling FOP. The conversion works on the command line; however, I have great problems embedding FOP in my filter. It is usually not a good idea to use JSP to generate XML for further processing. Well, you can

Difficulties embedding FOP by firing SAX events myself

2001-11-15 Thread Smith, Paul
Hi, I am trying to embed FOP within my own Java application as described in http://xml.apache.org/fop/embedding.html, specifically the third method: calling getContentHandler() and firing the SAX events yourself and I am running into difficulties! I have a class called MyParser which fires the

RE: Difficulties embedding FOP by firing SAX events myself

2001-11-15 Thread Smith, Paul
embedding FOP by firing SAX events myself I did it this way: code // FO -- PDF driver.reset(); driver.setOutputStream(pdf); driver.setRenderer(org.apache.fop.apps.Driver.RENDER_PDF); TransformerFactory tFactory = TransformerFactory.newInstance(); if (tFactory.getFeature

AW: Difficulties embedding FOP by firing SAX events myself

2001-11-15 Thread Beer, Christian
But fop uses xerces and xalan. This two packages contain all xml-stuff! -Ursprüngliche Nachricht- Von: Smith, Paul [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 15. November 2001 14:44 An: '[EMAIL PROTECTED]' Betreff: RE: Difficulties embedding FOP by firing SAX events myself

AW: Embedding fop in IE..Help!!!

2001-10-16 Thread Beer, Christian
An: [EMAIL PROTECTED] Betreff: Re: Embedding fop in IE..Help!!! Hi Im using a JSP to generate this PDF. I am able to open other Static pdfs. This is what i do, i create a bytearrayoutputstream which will hold the output of the render and then use a pageContext.getOut().print

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Carmelo Montanez
] To: [EMAIL PROTECTED] Sent: Monday, October 15, 2001 10:45 AM Subject: Embedding fop in IE..Help!!! Hi All I have an XML file which i combine with a XSL to generate the FO file and render it. It works fine with Netscape but im having a tough time with IE. It is displaying garbage on teh screen. All i

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Stefan Weber
Did you set the proper content type? response.setContentType(application/pdf); Stefan -Original Message- From: Rajagopal. V [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 4:45 PM To: [EMAIL PROTECTED] Subject: Embedding fop in IE..Help!!! Hi All I have an XML file which i

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Hi Im using a JSP to generate this PDF. I am able to open other Static pdfs. This is what i do, i create a bytearrayoutputstream which will hold the output of the render and then use a pageContext.getOut().print(bytearrayoutputstreamobject); and this results in printing binary content on the

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Shkuro, Yuri
: Rajagopal. V [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 2:49 PM To: [EMAIL PROTECTED] Subject: Re: Embedding fop in IE..Help!!! Hi Im using a JSP to generate this PDF. I am able to open other Static pdfs. This is what i do, i create a bytearrayoutputstream which will hold the output

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
to the output stream before you start writing the PDF content. Try calling clearBuffer() on the output stream first. YS -Original Message- From: Rajagopal. V [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 2:49 PM To: [EMAIL PROTECTED] Subject: Re: Embedding fop in IE..Help

Re: Problem with embedding fop

2001-07-09 Thread adel ben
Hi Martin, I have tried to add the url-pattern to web.xml and it doesn't work too:(( I would like to add that the sample given with the ditribution of FOP tha renders fo files with a servlet works wether the call of the servlet is from IE or Netscape Navigator. Please help. with regards, adel

Problem with embedding fop

2001-07-06 Thread adel ben
Hi all, I've tryed to embed FOP-0.18.1DEV with a servlet so that to render (xml,xsl) files into PDF. I am using Tomcat 3.2.1 as web container. Unfortunately, the call of the servlet works from Netscape Navigator and renders PDF. However, it doesn't work from Internet Explorer. in fact with IE,

Re: Problem with embedding fop

2001-07-06 Thread Bjoern Martin
Hi all, I've tryed to embed FOP-0.18.1DEV with a servlet so that to render (xml,xsl) files into PDF. I am using Tomcat 3.2.1 as web container. Unfortunately, the call of the servlet works from Netscape Navigator and renders PDF. However, it doesn't work from Internet Explorer. in fact with