https://bz.apache.org/bugzilla/show_bug.cgi?id=57136

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO

--- Comment #12 from Mark Thomas <ma...@apache.org> ---
The problem here is that both the EL and the JSP specs apply and they say
different things.

The JSP specs says (assuming EL is enabled) '\$' is an escape for a literal
'$'.
The EL spec says '\${' is an escape for a literal '${'.

The JSP spec has been in maintenance mode for 2.2 onwards whereas the EL spec
has been in active development - hence why more wieght was given the EL view
rather than the JSP one.

Having re-read both specs again, I'm no clearer in my own mind what the right
behaviour is. Either the JSP style escaping or the EL style could be viewed as
correct. It may even be possible (I need to think it through some more) to have
EL use '\${' as an escape for '${' while JSP uses '\$' as an escape for '$'.

I'm reluctant to change this again without clarification from the JSP
maintenance lead and the EL spec expert group. I'll leave this open in the
NEEDINFO state and raised a bug over in the EL EG.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to