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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>