You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2001/11/16 20:04:28 UTC
DO NOT REPLY [Bug 4932] New: -
and processing error
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