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 2003/08/13 12:12:01 UTC
DO NOT REPLY [Bug 22377] New: -
SitemapSource breaks environment when used from generation with CIncludeTransformer
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.