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

pageEncoding attribute is reset when @page used in @include-d file





------- Additional Comments From [EMAIL PROTECTED]  2003-06-10 09:36 -------
Regardless of JSP spec, but, at least, the following comment is written in
ParserControll#parse method.

[...]
// Set the "top level" file encoding that will be used
// for all included files where encoding is not defined.
[...]

So, I think that the intention of the figureOutJspDocument is the following:

--- ParserController.java
+++ ParserController_.java
@@ -263,7 +263,7 @@
                            }
                        }
-                        if (newEncoding == null)
+                        if (isTopFile && newEncoding == null)
                            newEncoding = "ISO-8859-1";
                    } else {
                        return;
                    }

It seems redundant and misleading that the topFileEncoding initialization is in
declaration.

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

Reply via email to