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 7187] New: - [PATCH] xsl:group, footer fix
Date Mon, 18 Mar 2002 01:07:33 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=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: cocoon-dev@xml.apache.org
        ReportedBy: phantom@stserv.hcf.jhu.edu


<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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message