On Fri, Apr 30, 2004 at 10:28:17AM +0200, Stefan Seifert wrote:
> I understand understand your concerns concering avalon (and followed myself the
> thread you noticed in the last weeks).
>
> But it would be great to have any possibility to "plug in" a own source resolving
> concept in FOP in any case! This could be Excalibur or anything else.
>
> Consider something like this (very rough):
>
> public interface FopImageResolver {
>
> URL resolve(String href) throws MalformedURLException;
>
> }
What about interface javax.xml.transform.URIResolver with
javax.xml.transform.Source resolve(String href, String base) ?
Note that org.apache.xml.resolver.tools.CatalogResolver is an
implementation of this interface using various sorts of catalogs.
Simon
--
Simon Pepping
home page: http://www.leverkruid.nl