cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28724] - FragmentExtractor always returns same fragment
Date Tue, 01 Jun 2004 09:28:53 GMT
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

Mime
View raw message