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 4932] New: - <esql:max-rows> and <esql:skip-rows> processing error
Date Fri, 16 Nov 2001 19:04:28 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=4932>.
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=4932

<esql:max-rows> and <esql:skip-rows> processing error

           Summary: <esql:max-rows> and <esql:skip-rows> processing error
           Product: Cocoon 2
           Version: 2.0rc2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: durdina@asset.sk


<esql:skip-rows>5</esql:skip-rows> DOES work,

<esql:skip-rows>
  5
</esql:skip-rows> does NOT work!

<esql:skip-rows>
  <xsp:expr>...</xsp:expr>
</esql:skip-rows> does NOT works!

In esql.xsl
    try {
      _esql_query.max_rows = Integer.parseInt(String.valueOf(<xsl:copy-of 
select="$maxrows"/>));
    } catch (NumberFormatException e) {}

Integer.parseInt does not trim.
That's IT!

Mike

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


Mime
View raw message