cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: CachingCIncludeTransformer
Date Thu, 05 Jul 2001 14:19:38 GMT
> Maciek Kaminski wrote:
> 
> On 5 Jul 2001, at 15:10, Carsten Ziegeler wrote:
> 
> > Ahh, now I understand the trick! You assume (correctly) that
> > the underlying xml document used by the generator has not
> > changed, so you could use the old values of the validity
> > object. Ok, this should work.
> > 
> > Sorry for being so blind.
> > 
> > Carsten
> 
> Will you add it to the source tree or modify CIncludeTransformer?
> 
Yes, I think we will add it to the 2.1 branch and vote if it can
make it into the 2.0.

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

> 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.

Carsten

> Maciek Kaminski
> maciejka@tiger.com.pl
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message