You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/01/10 19:54:25 UTC
DO NOT REPLY [Bug 15966] New: -
Jasper parser is incorrectly handling empty jsp:body elements
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15966>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15966
Jasper parser is incorrectly handling empty jsp:body elements
Summary: Jasper parser is incorrectly handling empty jsp:body
elements
Product: Tomcat 5
Version: Nightly Build
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Jasper2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: Ryan.Lubke@Sun.COM
Given the following productions:
JspBodyBody ::= (S? JspBodyEmptyBody)
| (S> '>' (JspBodyBodyContent - '') '</jsp:boyd>'
and
JspBodyEmptyBody ::= '/>'
| '></jsp:body>'
| <TRANSLATION_ERROR>
Jasper generates a translation error with the error message of
"<jsp:body> must not have any attributes" When it encounters
something like:
<ctm:action>
<jsp:body />
<ctm:action>
For the following code snippet:
<ctm:action>
<jsp:body></jsp:body>
<cts:action>
This error message is generated at translation time:
"Empty body not allowed for <jsp:body>"
which is incorrect according to the grammar.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>