cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Bruchez <ebruc...@unet.urbanet.ch>
Subject Re: Caching <xsl:include> is not updating
Date Tue, 16 Oct 2001 00:12:37 GMT
Hi Hiya,

I entered bug 3782 on this:

   http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3782

I used <xsl:import> not <xsl:include> but the issue is similar.

As far as I know Cocoon doesn't cache separately imported and included 
stylesheets. I assume the XSLT transformer processes a stylesheet and 
its dependencies in a single pass.

I work around this by touching the importing stylesheet. This causes 
Cocoon to reload the stylesheet and its dependencies. When loading a 
stylesheet Cocoon should compute a list of dependencies for that 
stylesheet and test all of those to determine if a cache entry is dirty.

-Erik

Phil Blake wrote:

> Hiya,
> 
> i have an XSL doc that includes another XSL doc. The included document 
> appears to be read once by cocoon and the never updated. Is this a bug? 
> Is there a way of clearing the cache without restarting tomcat? (after 
> all you spend a lot of your time updating XSL and having to restart 
> cocoon after every text change is very boring :) not to mention a 
> timewaster.
> 
> I assume everyone is having the same problem with included XSL documents?
> 
> What to do?
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message