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

A translation-time error is not raised when the value of the page directives 
pageEncoding attribute fails to match that of the xml prolog of the JSP document.

           Summary: A translation-time error is not raised when the value of
                    the page directives pageEncoding attribute fails to
                    match that of the xml prolog of the JSP document.
           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]


A translation error is not generated when Jasper is presented the following:

<?xml version="1.0" encoding="UTF-8"?>
<root>
    <jsp:directive.page 
         xmlns:jsp="http://java.sun.com/JSP/Page";
         pageEncoding="ISO-8859-1" />
</root>

JSP.4.1 states the following for JSP documents:

   "It is a translation-time error to name different encodings 
    in two or more of the following:  the XML prolog of a JSP
    page, the pageEncoding attribute of the page directive of the
    JSP page, and in a JSP configuration element whose URL pattern
    matches the page.

This worked as expected in previous builds.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to