On 27.04.2007 00:00:55 Peter wrote: > Hello, > > I have been trying to get my head around this (without much success). > > Currently I bumped in to the Batik ParsedURL.registerHandler method.
That's the most likely place to do something. > Is that the (only) way to tell to Batik to do something user specific when > resolving relative URI's? This is the wrong place to ask this question. > Is there (any other) a way I can have FOP and Batik use the same URIResolver > interface? Not at this time. Batik doesn't use URIResolver. You could put in an RFE with Batik or try to add direct support for it in Batik's source code. > Any type of guidance or pointer appreciated! Cocoon did something in the area of URI resolution for Batik, although they've integrated their SourceResolver, not a URIResolver: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-batik/cocoon-batik-impl/src/main/java/org/apache/cocoon/serialization/SVGSerializer.java?view=markup http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-batik/cocoon-batik-impl/src/main/java/org/apache/cocoon/components/url/ This might get you some ideas. > > Thanks, > > Peter > > > -----Original Message----- > > From: Peter Coppens [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, April 25, 2007 5:56 PM > > To: [email protected] > > Subject: URIResolver for svg > > > > > > FOP Fans, > > > > I am having some issues with svg embedded images and a uriresolver. > > > > I have configured the uriresolver on the user agent and that works fine > > for > > external images that are referenced from fo elements. Unfortunately, at > > least in my case, the uriresolver is not invoked for svg external images. > > > > From http://www.nabble.com/URIResolver-and-Batik-t3154421.html I get the > > impression that batik has a separate mechanism for locating images but it > > is > > not clear to me what that means when invoking batik through fop. > > > > Ideally, I would just want to see the same uriresolver invoked. > > > > Any guidance or pointers would be warmly welcomed, > > > > Thanks! > > > > peter > > > > -- > > View this message in context: http://www.nabble.com/URIResolver-for-svg- > > tf3646281.html#a10183672 > > Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
