DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29506>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29506 [PATCH] Faulty caching in directory generator ------- Additional Comments From [EMAIL PROTECTED] 2004-07-12 10:35 ------- It should be as simple as using the resolved URI (inputSource.getURI()) for the cache key. The src is resolved at http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/generation/DirectoryGenerator.java?annotate=1.11#245. You need to move the resolving into the setup method and make inputSource a member variable instead of a local variable in generate(). Don't know if resolving src both in setup() and generate() is better than having an additional member variable.
