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=7187>. 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=7187 [PATCH] xsl:group, footer fix Summary: [PATCH] xsl:group, footer fix Product: Cocoon 2 Version: Current CVS Platform: Other OS/Version: All Status: NEW Severity: Normal Priority: Other Component: general components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] <esql:execute-query> <esql:query> SELECT department.name, employee.id, employee.name as empName FROM department, employee WHERE department.id = employee.department_id ORDER BY department.name </esql:query> <esql:results> <esql:row-results> <esql:group group-on='name'> <Department><xsp:attribute name='name'><esql:get-string column='name'/></xsp:attribute> <h2><esql:get-string column='name'/></h2> <esql:member><para><employee><esql:get-string column='empName'/></employee></para> <esql:get-columns/> </esql:member> * <esql:get-columns/> </Department> </esql:group> </esql:row-results> </esql:results> </esql:execute-query> *causes exception on last record since it is asking for column values after the recordset has been iterated out of. Before exception, returns info about upcoming member instead of most recent member. attached patch(es) should fix this bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]