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/15 20:01:52 UTC
DO NOT REPLY [Bug 16129] New: -
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.
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: tomcat-dev@jakarta.apache.org
ReportedBy: Ryan.Lubke@Sun.COM
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>