tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19778] - utf-8-encoded source gets mangled in xml-mode
Date Thu, 25 Sep 2003 07:39:56 GMT
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=19778>.
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=19778

utf-8-encoded source gets mangled in xml-mode





------- Additional Comments From maverick_grey@mail.ru  2003-09-25 07:39 -------
Yes. You are right!
But have some errors in your patch. You wrote:

--- JspDocumentParser.javaFri May  9 17:17:44 2003
+++ JspDocumentParser-original.javaWed Mar 19 10:20:58 2003
@@ -136,9 +136,9 @@
      */
     public static Node.Nodes parse(ParserController pc,
    String path,
-   InputStream in,
+   InputStreamReader reader,
    Node parent) throws JasperException {
-JspDocumentParser handler = new JspDocumentParser(pc, path, in);
+JspDocumentParser handler = new JspDocumentParser(pc, path, reader);
 handler.current = parent;
 Node.Nodes pageNodes = null;

but it mast be like this:

--- JspDocumentParser.javaFri May  9 17:17:44 2003
+++ JspDocumentParser-original.javaWed Mar 19 10:20:58 2003
@@ -136,9 +136,9 @@
      */
     public static Node.Nodes parse(ParserController pc,
    String path,
-   InputStreamReader reader,
+   InputStream in,
    Node parent) throws JasperException {
-JspDocumentParser handler = new JspDocumentParser(pc, path, reader);
+JspDocumentParser handler = new JspDocumentParser(pc, path, in);
 handler.current = parent;
 Node.Nodes pageNodes = null;

Mime
View raw message