jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhiru Pandey <Dhiru.Pan...@Sun.COM>
Subject [Standard][PATCH]Fix for Bug 33300 in Functions.java
Date Wed, 09 Feb 2005 23:17:56 GMT
Fix for Bug 33300 - Misleading error message from fn:length()


Found in jakarta-taglibs-standard-1.1.2:

When trying to apply fn:length() to something that is not a Collection, String,
Enumeration or Iterator, this misleading exception is generated:

    "Don't know how to iterate over supplied "items" in <forEach>"

It should say that the argument to fn:length() is invalid.

This cost me much time debugging in the wrong area of a JSP page

The change is required in:


View raw message