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 2009/07/22 22:32:29 UTC

DO NOT REPLY [Bug 47413] There is difference in composite ${a}${b} EL expressions between 6.0.18 and 6.0.20

https://issues.apache.org/bugzilla/show_bug.cgi?id=47413


Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|There is difference <c:out> |There is difference in
                   |tag output between 6.0.18   |composite ${a}${b} EL
                   |and 6.0.20                  |expressions between 6.0.18
                   |                            |and 6.0.20




--- Comment #8 from Konstantin Kolinko <kn...@gmail.com>  2009-07-22 13:32:26 PST ---
I renamed this issue, as it is a bug with EL expressions, not with c:out.

There is one additional issue in the same piece of code
(Generator#attributeValueWithEL()):

According with the specification, the components of a composite EL expression,
such as ${a}${b}, are evaluated from left to right, and each one is coerced to
String. Those strings are concatenated, and the result is coerced to the
expected type.

The first issue, described in comment #6, is that the first component was not
coerced to String.
The second issue is that the result of concatenation is not coerced to the
expected type.

It works in 6.0.18 and current 5.5.x.
These issues were introduced in rev. 708165.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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