You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/11/25 00:49:30 UTC

DO NOT REPLY [Bug 24957] New: - EL treates operators as functions

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=24957>.
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=24957

EL treates operators as functions

           Summary: EL treates operators as functions
           Product: Tomcat 5
           Version: 5.0.14
          Platform: Sun
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: b_basham@yahoo.com


The JSP/EL language is incorrectly treating operator keywords (such as 'and'
'or' 'mod' and so on) as functions when the expression on the right of the
operator is a parenthetical expression. 

For example: ${7 div (3 + 2)}   gives a translation error because it thinks
that 'div' should be treated as a function (but it cannot find the declaration
of that function).

I have a test webapp that I will submit.

-Bryan Basham

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org