DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29763>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29763 The encoding of jsp document [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From [EMAIL PROTECTED] 2004-06-25 01:52 ------- Hi Petr, I think I am going to have to revert my patch, and close this issue as "not a bug" instead. The reason you didn't see any error is because your JSP document did not contain any XML prolog with an explicit encoding declaration. This is to ensure backwards compatibility with JSP 1.2. Otherwise, JSP documents that used to be valid in JSP 1.2 will no longer work in JSP 2.0, which the expert group decided was unacceptable. This is why the JSP 2.0 spec says: It is a translation-time error to name different encodings in two or more of the following: the XML prolog /text declaration of a JSP document [...]. In your example, there was no explicit encoding declaration in the prolog, and therefore you should not expect to see any error. Let me know what you think. Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]