cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: cvs commit: cocoon-2.1/src/scratchpad/src/org/apache/cocoon/components/source/impl blob.xconf
Date Wed, 12 Mar 2003 13:28:30 GMT
cziegeler@apache.org wrote:

>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



Mime
View raw message