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=32650>. 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=32650 Summary: Transformations in views not usable when using aggregation or cocoon internal protocol: The xml gets transfomed more than once Product: Cocoon 2 Version: 2.1.6 Platform: All OS/Version: Mac OS X 10.3 Status: NEW Severity: critical Priority: P1 Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Using views seems work, until your content is being loaded internally via a 'cocoon:/xyz' url or content aggregation. When you then XSL transform the XML in a view, the resulting tree is corrupt. This can be verified by calling: http://localhost:8888/a?cocoon-view=pretty-content http://localhost:8888/b?cocoon-view=pretty-content (here you will get a corrupt html tree) It seems, that the view transformer gets called twice when using the second example. This makes the view concept pretty useless with this bug. ---------------- - test.xml - ---------------- <test> Hello World XML </text> ---------------- - sitemap.xmap - (added to the original sitemap) ---------------- <map:pipeline> <map:match pattern="a"> <map:generate src="test.xml"/> <map:serialize/> </map:match> </map:pipeline> <map:pipeline> <map:match pattern="b"> <map:generate src="cocoon:/a" /> <map:serialize/> </map:match> </map:pipeline> This issue has been tested on Cocoon 2.1.5 and 2.1.6 on OS X 10.3.6 on a PowerMac Dual G5 and Java 1.4.2_05. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
