DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25481>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

Caching of aggregated content not working with cocoon:/ protocol





------- Additional Comments From [EMAIL PROTECTED]  2003-12-14 16:56 -------
Jorg,

You may want also to check the bug #4641, it is somewhat related.
The problem is that key for aggregation is composed from the parts' URIs. Try
changing your pipeline to:

<map:match pattern="testaggregate">
  ... add parameter matcher to get value for test parameter ...
  <map:aggregate element="aggregation" >
    <map:part src="file://d:/temp/myfile1.xml"/>
    ... pass value ...
    <map:part src="cocoon:/nocache?test={1}"/>
  </map:aggregate>
  <map:serialize type="xml"/>
</map:match>

results will be different. For the pointer to the relevant code, see
o.a.c.sitemap.ContentAggregator, generateKey() method, line 182-194 in current
Cocoon 2.0 CVS.

PS Cocoon 2.1 implementation is *very* different. If you are in no position to
upgrade, you can provide a patch for 2.0.

Vadim

Reply via email to