cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject [C2]: Patch for XalanTransformer and Caching
Date Tue, 31 Oct 2000 08:31:05 GMT
> Stefano Mazzocchi wrote:
> > Or for a flag which turns caching on/off?
> yep.
Included is a patch for the XalanTransformer which allows turning on/off the cache using a
configuration in the sitemap:

<map:transformer name="xslt" src="org.apache.cocoon.transformation.XalanTransformer">

	<use-cache map:value="true"/>  <!-- true: turns on cache, false: off -->

The default is "true", so without a configuration the transformer has the same behaviour than

> my solution would be:
> 1) if you use external entities, forget it, the cache will not be able
> to reload
Shoudn't this never be cached?
> 2) if you use the XPath document() fuction forget it as well, the cache
> won't be able to tell if it needs to reload.
So no caching either, correct?

Carsten Ziegeler

Open Source Group              sunShine - Lighting up e:Business
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn                  

View raw message