cziegeler 2003/03/12 01:35:39...
1.2 +14 -15 cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java
- // FIXME: How to do without URLFactory but relative to context? - urlFactory = (URLFactory)manager.lookup(URLFactory.ROLE); - URLFactorySourceResolver urlResolver = new URLFactorySourceResolver(urlFactory, manager); - configSource = urlResolver.resolve(configUrl); + resolver = (SourceResolver)this.manager.lookup(SourceResolver.ROLE); + configSource = resolver.resolveURI(configUrl);
Carsten,
AFAIU, you changed the behavior and now FOPSerializer will lookup config not relative to the context, but relative to the current sitemap. If that's what you want, then serializer docs also has to be changed (if this was documented before...).
Vadim