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/02/25 22:44:51 UTC

DO NOT REPLY [Bug 17398] New: - Jasper incorrectly allows a page author to specify a body for jsp:output in a JSP document.

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=17398>.
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=17398

Jasper incorrectly allows a page author to specify a body for jsp:output in a JSP document.

           Summary: Jasper incorrectly allows a page author to specify a
                    body for jsp:output in a JSP document.
           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


JSP.5.16 states that the jsp:output action may not have a body.  

Consider the following:  

<root xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/plain" />
    <jsp:output omit-xml-declaration="yes">
        Test FAILED
    </jsp:output>
</root>

No translation error is generated.

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