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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


<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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to