Summary: | The new JSP 2.2 omit-attribute in jsp:attribute does not work with EL or expressions | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | PhilippJ <Philipp.Jurewicz> |
Component: | Jasper | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.0.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Attachments: | A JSP file which show three different use cases of the jsp:attribute omit attribute |
Description
PhilippJ
2010-08-22 16:44:10 UTC
The expected behaviour is undefined since the EBNF in JSP.1.3.10.1 does not include the omit attribute at all. The behaviour you are expecting sounds reasonable to me (even if it does make the code a tad more complicated than it is currently). I'm working on a patch and should have something soon. I'll also try and nag the EG about the error in the EBNF. I have fixed this in trunk. It will be included in 7.0.3 onwards. |