tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: EL and TCK
Date Fri, 19 Sep 2008 11:45:45 GMT
Konstantin Kolinko wrote:
> In JSP 2.1 spec there is chapter
> JSP.1.6 Quoting and Escape Conventions
> - see "Quoting in Attributes" part there.
> 
> Thus, IMHO, ${\'string literal\'} will be valid if used as the value for
> an attribute of custom tag.
> 
> The example from the spec
> <x:tag value="<%= \"Joe said 'hello'\" %>"/>
> becomes
> <x:tag value="${ \"Joe said 'hello'\" }"/>
> 
> and should have produced the following EL expression:
> "Joe said 'hello'"
> (without any backslash characters in EL text)
> 
> I hope that this explanation matches your case.

Thanks for the reply. The fresh pair of eyes is appreciated.

Tags are involved so it looks like this is a bug in Tomcat rather than the
TCK. Maybe a regression from my fix for 45427? It might just be me but
anything in Jasper to do with EL seems really fragile.

Mark



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


Mime
View raw message