You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Phil Blake <ph...@tcp.net.au> on 2001/10/16 02:02:37 UTC
Caching is not updating
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Caching is not updating
Posted by Erik Bruchez <eb...@unet.urbanet.ch>.
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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>