tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arjan tijms <arjan.ti...@mbuyu.nl>
Subject Re: Escaping EL doesn't work in Tomcat 6?
Date Wed, 03 Jan 2007 16:04:20 GMT
Tim Funk wrote:

> Is this issue http://issues.apache.org/bugzilla/show_bug.cgi?id=41257
> and http://issues.apache.org/bugzilla/show_bug.cgi?id=41258
>
> I think these are the trouble:
>
> Lines 2776-2777 in org.apache.jasper.compiler.Generator
>
> TagAttributeInfo tai = attr.getTagAttributeInfo();
> String type = tai.getTypeName();
>               ^^^ <-- Is null
>

Indeed, I mentioned this in the bug report relating to EL in dynamic 
attributes. This bug report I think was wrongfully marked as a 
duplicate. While the original problem was indeed related to using EL in 
dynamic attributes too, the specific problem here is that escaping EL 
doesn't work either. I merely tried escaping EL as a workaround for the 
NPE bug.

So to sum up, I think we have two seperate bugs here:

1) EL in dynamic attributes causes NPE.
2) Escaping of EL doesn't work.




-- 
It's a cult. If you've coded for any length of time, you've run across someone from this warped
brotherhood. Their creed: if you can write complicated code, you must be good.


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


Mime
View raw message