You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/06/01 11:28:53 UTC

DO NOT REPLY [Bug 28724] - FragmentExtractor always returns same fragment

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=28724>.
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=28724

FragmentExtractor always returns same fragment





------- Additional Comments From sarah.windler@id.ethz.ch  2004-06-01 09:28 -------
Resolved, thank you:
see below a log extract of sitemap.xmap:
grep fragmentID sitemap.log
DEBUG   (2004-06-01) 11:00.02:047   [sitemap.transformer.extractor] 
(/netstat/portstat/logarithm.html) PoolThread-4/FragmentExtractorTransformer: 
setup(): fragmentID now 0.
DEBUG   (2004-06-01) 11:00.11:375   [sitemap.transformer.extractor] 
(/netstat/portstat/logarithm.html) PoolThread-4/FragmentExtractorTransformer: 
startElement(): fragmentID now 1.
DEBUG   (2004-06-01) 11:00.15:373   [sitemap.transformer.extractor] 
(/netstat/portstat/logarithm.html) PoolThread-4/FragmentExtractorTransformer: 
endElement(): fragmentID now 1.
DEBUG   (2004-06-01) 11:01.19:122   [sitemap.transformer.extractor] 
(/netstat/portstat/logarithm.html) PoolThread-4/FragmentExtractorTransformer: 
setup(): fragmentID now 0.
DEBUG   (2004-06-01) 11:01.22:234   [sitemap.transformer.extractor] 
(/netstat/portstat/logarithm.html) PoolThread-4/FragmentExtractorTransformer: 
startElement(): fragmentID now 1.
DEBUG   (2004-06-01) 11:01.25:712   [sitemap.transformer.extractor] 
(/netstat/portstat/logarithm.html) PoolThread-4/FragmentExtractorTransformer: 
endElement(): fragmentID now 1.

so I changed the setup() in FragmentExtractorTransformer.java, because it's 
called every time, when the client makes a new request . The map type of the 
pipeline is default, means 'cacheable', cocoon version V2.1.5.
//fragmentID = 0;

And now it works.
Sarah