cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geert Josten <>
Subject Re: Sanity check concerning dynamic XSLT and multiple XML data files
Date Mon, 21 Feb 2005 18:04:31 GMT

The problem lies not in the caching aspects of document() in this case, though it adds to
complexity. The first problem is that the directory generators usually only look at the timestamp
the directory. If a file is added or removed, the timestamp of the directory is usually _not_

modified and the directory generators won't regenerate the directory listing.

Putting it in a non-caching pipeline is the only solution (without patching the generator).
But then 
the bug Conal mentions comes into action. Avoid the use of document() or force the access
to the 
files to be non-caching as well..


Conal Tuohy wrote:

> Markus Vaterlaus wrote:
>>Maybe you want to have look at  xpath directory generator.
> I agree. That's a good solution.
> The reason that xslt "document('foo.xml')" is no good is that the
> CacheValidity of the XSLT transform does not depend on the calls it makes to
> the document() function. This is a known issue, which the original poster
> might like to vote for in BugZilla, but Markus's suggestion is still a
> better solution anyway. :-)
> Cheers
> Con
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

IT-consultant at Daidalos BV, Zoetermeer (NL)

GPG: 1024D/12DEBB50

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message