Re: svg content not compiling
Not sure if this is related, but do you have any AWT support on your Linux box? On an iSeries or AS/400 system I have to run a version of X-windows and a package that supplies native AWT support. I believe that the PJA package works on Linux systems. You can find out more about PJA at: http://www.eteks.com/pja/en/ David Morris [EMAIL PROTECTED] 03/13/02 08:16AM I have complied an xml file with an xsl file containing svg content on my windows mechine and it works fine... but when i compile the same files on my linux mechine with the same distribution of fop (0.20.3) it crashes: Exception in thread main java.lang.NoClassDefFoundError at org.apache.fop.svg.SVGElement.init(SVGElement.java:197) at org.apache.fop.svg.SVGElement.init(SVGElement.java:84) It seems to be the classpath issue involving batik.jar. I have all of the needed .jar files located in JAVA_HOME/jre/lib/ext/. What else do i need to try in order to solve this problem. I also need to solve this for tomcat (FopServlet runs fine as long as there is no svg elements) Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Configuring the FOP 0.18 in Cocoon 1.8 or more
sudhakar, I wrote an article for the August issue of Midrange Computing that covers that topic. If you do not have access to the magazine, I can forward a copy of that article to you. The main challenges are with the Cocoon jar file. I found through a process of elimination that on some releases (V4R5 some group) one package had to be removed from the jar file. The article covers setup with Tomcat, which I would recommend over WebSphere. The installation is pretty strait forward and can be as simple as drag and drop from a working windows setup to a mapped drive on your AS/400 or iSeries. You then have to modify Tomcat's startup script, which isn't too hard to set the appropriate class path. David Morris [EMAIL PROTECTED] 09/22/01 03:29 AM hello, can anybody tell me how to configure the FOP 0.18 in cocoon 1.8 or more. Thanks in advance. sudhakar sankar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: FOP on IBM AS400
Stephen, I have also used FOP quite a bit on an iSeries AS/400. Ideally you should be on V4R5 or V5R1 with the latest group and cum. On earlier groups, I experienced problems loading some classes. I have been using the .19 version distributed with Cocoon2. David Morris [EMAIL PROTECTED] 09/22/01 03:43 AM Stephen Fry wrote: Hi We are attempting to port our application which uses fop 0.20.1 to the AS400. We seems to have some issues with FOP's use of AWT classes. Has anyone any experience of this environment ? Is it possible to configure FOP not to use AWT or is it fundemental ? We have bmp files as external-graphic's, and we are rendering to PDF,PS and PCL. I've successfully run FOP on a AS/400 with PDF, PS and PCL output but without images. I *think* BMP images should work as they don't need AWT. Stephen Fry CODA Plc Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Compressing Input Document
Group, I am wondering if there is a way to compress the XSL-FO document passed to FOP. We have been experimenting with FOP via Cocoon, Cocoon2, and standalone. One tact was to use JDOM to create a DOM XSL-FO tree passed to FOP. The data passed to FOP seems pretty excessive and will not scale to our needs. We saw about a 35X increase from input to carefully crafted XSL-FO document. There may still be some opportunity for us to trim this down, but table formatting seems to use up a lot of space. Is there a way to compress the XSL-FO object down to a reasonable size? The data itself appears to be very redundant. Thanks, David Morris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]