Sorry, I've only tested the isolated case of preloading the image so I missed the other call to closeQuietly(). I've now fixed this in the right place. Please try again. I hope it works now.
http://svn.apache.org/viewvc?rev=615164&view=rev On 25.01.2008 10:36:24 Raphael Parree wrote: > > Jeremias, > > Thanks for the quick reply and commit ;) > > I am getting the following Exception: java.lang.IllegalArgumentException: > Source not supported: javax.xml.transform.dom.DOMSource. > > I have attached my code in the code.txt file. The whole stacktrace is in the > stacktrace.txt file. > > I updated my FOP working copy to 615144. > > Tx., > > > > > > -----Original Message----- > From: Jeremias Maerki [mailto:[EMAIL PROTECTED] > Sent: 25 January 2008 09:31 > To: fop-users@xmlgraphics.apache.org > Subject: Re: SVG XML Access > > Raphael, > > I hadn't implemented support for a DOMSource but have done so now: > http://svn.apache.org/viewvc?rev=615144&view=rev > > Take a look at the test case that I've added. It demonstrates how you > can write a URIResolver that returns an SVG DOM. That way you can do all > the SVG manipulation you want. But you have to make sure the DOM > Document is a org.w3c.dom.svg.SVGDocument. > > On 25.01.2008 08:03:38 Raphael Parree wrote: > > Hi Jeremias, > > > > > > > > End o last year I wrote a custom URI resolver to augment SVG files with a > > style entry. This has drastically influenced the PDF generation time. I > > recall that during that time you mentioned you were updating the Image > part > > and that it would be easier when that was completed, because the update > > gives access to the SVG XML. I noticed many updates in the Image classes > (in > > the trunk). > > > > Does this mean that there is an alternative to filtering the SVG files > now? > > > > > > > > Tx., > > > > > > > > Raphael > > > > > > > Jeremias Maerki > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]