DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36362>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36362
Summary: missing check for Java reserved keywords in tag file
processing
Product: Tomcat 5
Version: 5.0.28
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: erickson_d@yahoo.com
Tag file attribute names are used as identifiers in Java source code generated
from the tag file without any mangling. If the attribute name is a Java
keyword, this leads to a compilation error. As an example, try to use the
following tag file, bug.tag
<%@ tag isELIgnored="false" %>
<%@ attribute name="default" %>
${default}
Somewhere during tag file processing, attribute names could be checked against
the list of Java keywords in org.apache.jasper.compiler.JspUtils
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
|