Embedding SVG in PDF

2010-05-10 Thread Joshua O'Brien
Hello, and thanks in advance for any help you can provide. I am trying to embed (not rasterize) SVG in a PDF using Cocoon. I have modified the application created here: http://cocoon.apache.org/2.2/1159_1_1.html, first to use the svg2jpeg serializer which works as it should and now I am trying

RE: Very large Generator file

2010-05-10 Thread Schmitz, Jeffrey A
Thanks Jos, I have tried moving the tfactory stuff into my specialized cocoon transformer (com.boeing.transform.SPARQLinTrans), and I've also tried processing the file in a stand-alone java program with 1 Gig of memory assigned to it, and in both cases I'm still running out of heap space (see

RE: Very large Generator file

2010-05-10 Thread Jos Snellings
Yes, Jeff, my guess is that the tfactory stuff will accomplish the job for you without complaining about memory shortage! Your tomcat instance may have other things around increasing the memory footprint all the time. On Mon, 2010-05-10 at 09:43 -0500, Schmitz, Jeffrey A wrote: > Yes, the result

RE: Very large Generator file

2010-05-10 Thread Schmitz, Jeffrey A
Yes, the resulting XHTML file is not for online use. And yes, I've given max memory to the tomcat instance. So, will having my specialized transformer do the xsl transform directly using a SAX transformer not work either? e.g. something like: TransformerFactory tfactory = TransformerFactor

RE: Very large Generator file

2010-05-10 Thread Jos Snellings
Hi Jeff, If you have been trying giving all the available memory to your tomcat instance (JVM options) you are at the end of you tether for the current solutions, unless somebody has a different idea. I understood from your previous mail that the resulting xhtml is not for on-line use, it is a so

RE: Very large Generator file

2010-05-10 Thread Schmitz, Jeffrey A
Hi Jos, I've already written my own Transformer (extends AbstractSAXTransformer) that currently takes the output of the default cocoon xsl transformer (via the sitemap) and performs subsequent, non-xsl transforms, writes the results to file and generates the returned web-page e.g.

RE: Very large Generator file

2010-05-10 Thread Jos Snellings
A SAX pipeline is part of cocoon. Can you explain briefly what you want to do? Consider using a cocoon-3 pipeline. Consider using a SAX transformation: - read xml - do something with it (transforming, for instance) - write output to a file Jos On Mon, 2010-05-10 at 08:23 -0500, Schmitz, Jeffrey A

RE: Very large Generator file

2010-05-10 Thread Schmitz, Jeffrey A
Correct, it's not being turned into a web page. Is a SAX pipeline part of Cocoon? I'm still on Cocoon 2.1, but I've never heard that term specifically, I thought the default generator did use SAX. > -Original Message- > From: Jos Snellings [mailto:jos.snelli...@pandora.be] > Sent: Sa