cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macie...@tiger.com.pl
Subject Re: AW: CachingCIncludeTransformer
Date Fri, 06 Jul 2001 14:49:59 GMT
On 5 Jul 2001, at 16:19, Carsten Ziegeler wrote:

> Could you please add some comments to the source how it works
> and resend it?
> 

Here they are.

> > There is another issue in CIncludeTransformer that should be resolved:
> > Sources are actually included by getting InputSource from source 
> > object and
> > parsing it:
> > <code>
> >     parser.parse(this.sourceResolver.resolve(src).getInputSource());
> > </code>
> > 
> > If sources are sitemap pipelines, it is inefficient(because of 
> > unnecessary 
> > serialization/parsing stage), and should(?) be replaced by:
> > 
> > <code>
> >     this.sourceResolver.resolve(src).stream(this);
> > </code>
> > 
> > which will not serialize/parse SitemapSources.
> > 
> Yes, correct. This is one outstanding issue I wanted to do but didn't
> have any time for.
> 

Done in attached transformer.



Maciek Kaminski
maciejka@tiger.com.pl


Mime
View raw message