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 22377] New: - SitemapSource breaks environment when used from generation with CIncludeTransformer
Date Wed, 13 Aug 2003 10:12:01 GMT
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=22377>.
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=22377

SitemapSource breaks environment when used from generation with CIncludeTransformer

           Summary: SitemapSource breaks environment when used from
                    generation with CIncludeTransformer
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: samc@atnet.net.au


If you use FileGenerator to generate events from a cocoon:/ url and later
transform with CIncludeTransformer, and the stream contains cinclude elements
which use cocoon:/ urls that exist on other, mounted sitemaps, the
EnvironmentStack offset is in an incorrect state when the cinclude elements are
processed by the transformer mid-stream.

This causes relative file references in the mounted sitemap to fail during
inclusion because resolveURI(src) is used from just about all generators and
transformers, well, at least the ones I used. That in turn causes
CocoonComponentManager to refer to the environment stack's offset to figure out
the BaseURI.

Mime
View raw message