Hi,
The problem lies not in the caching aspects of document() in this case, though it adds to the complexity. The first problem is that the directory generators usually only look at the timestamp of 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..
Cheers
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. :-)
http://issues.apache.org/bugzilla/show_bug.cgi?id=10203
Cheers
Con
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- [EMAIL PROTECTED] IT-consultant at Daidalos BV, Zoetermeer (NL)
http://www.daidalos.nl/ tel:+31-(0)79-3316961 fax:+31-(0)79-3316464
GPG: 1024D/12DEBB50
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
