cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enke Michael <Michael.E...@wincor-nixdorf.com>
Subject Error correction for esql.xsl
Date Mon, 07 Jan 2002 10:37:17 GMT
Hi committer,
this doesn't work because the last but one is repeated nonterminating:

<xsl:template name="nextRow">
  //checking out early?
    if (_esql_query.getMaxRows() != -1 &amp;&amp; _esql_query.getCurrentRow() - _esql_query.getSkipRows()
== _esql_query.getMaxRows() - 1 ) {
    } else {    //if not, advance normally
      _esql_query.setKeepGoing( _esql_query.nextRow() );
    }
</xsl:template>

please replace with:

<xsl:template name="nextRow">
  //checking out early?
    if (_esql_query.getMaxRows() != -1 &amp;&amp; _esql_query.getCurrentRow() - _esql_query.getSkipRows()
== _esql_query.getMaxRows() ) {
      _esql_query.setKeepGoing(false);
    } else {    //if not, advance normally
      _esql_query.setKeepGoing( _esql_query.nextRow() );
    }
</xsl:template>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message