You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by tc...@apache.org on 2002/01/07 12:01:57 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java esql.xsl

tcurdt      02/01/07 03:01:57

  Modified:    src/java/org/apache/cocoon/components/language/markup/xsp/java
                        esql.xsl
  Log:
  a bug fix reported by Enke Michael
  
  Revision  Changes    Path
  1.2       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl
  
  Index: esql.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- esql.xsl	3 Jan 2002 12:31:11 -0000	1.1
  +++ esql.xsl	7 Jan 2002 11:01:57 -0000	1.2
  @@ -1,5 +1,5 @@
   <?xml version="1.0"?>
  -<!-- $Id: esql.xsl,v 1.1 2002/01/03 12:31:11 giacomo Exp $-->
  +<!-- $Id: esql.xsl,v 1.2 2002/01/07 11:01:57 tcurdt Exp $-->
   <!--
   
    ============================================================================
  @@ -610,7 +610,7 @@
   
   <xsl:template name="nextRow">
     //checking out early?
  -    if (_esql_query.getMaxRows() != -1 &amp;&amp; _esql_query.getCurrentRow() - _esql_query.getSkipRows() == _esql_query.getMaxRows() - 1 ) {
  +    if (_esql_query.getMaxRows() != -1 &amp;&amp; _esql_query.getCurrentRow() - _esql_query.getSkipRows() == _esql_query.getMaxRows()) {
       } else {	//if not, advance normally
         _esql_query.setKeepGoing( _esql_query.nextRow() );
       }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org