On Mon, 15 Aug 2005 06:43 pm, [EMAIL PROTECTED] wrote: > http://issues.apache.org/bugzilla/show_bug.cgi?id=36082 > > ------- Additional Comments From [EMAIL PROTECTED] 2005-08-15 > 12:43 ------- Applied. Thanks a lot, Manuel. This is a big step in > the right direction! > http://svn.apache.org/viewcvs?rev=232786&view=rev > > I'll commit a couple of JUnit test cases in a minute that uses a > custom URIResolver and demonstrates how this stuff is used. It also > shows a couple of problems the will eventually need to be solved: > - The URI Resolution does not yet affect URIs in Batik. Hmm, I do set the baseURL when processing a SVG e-g. Do you have an example?
> - The ImageFactory should not rely on the InputStream on the > StreamSource to be set, as components like XML Commons Resolver don't > do that. They only set the resolved URL on a (Stream?)Source object. > This means that in the FOUserAgent, a Source should be returned, not > a StreamSource. For SVG graphics you might even want to supply a > DOMSource, but that's only nice-to-have and for later. I'm resolving > this issue now since it's purpose is fulfilled now. I was considering that as well but I am still hesitant to change internal interfaces around too much. If it is agreeable to either abolish the FOUserAgent.getStream() function or replace it with a getSource() function I'll be happy to do this. Manuel