[prev in list] [next in list] [prev in thread] [next in thread]
List: xalan-cvs
Subject: cvs commit: xml-xalan/java/src/org/apache/xml/serializer ToStream.java
From: minchau () apache ! org
Date: 2004-06-01 22:43:30
Message-ID: 20040601224330.61549.qmail () minotaur ! apache ! org
[Download RAW message or body]
minchau 2004/06/01 15:43:30
Modified: java/src/org/apache/xml/serializer ToStream.java
Log:
PR: bugzilla 29234
Submitted by: Brian Minchau
Reviewed by: Morris Kwan
This problem only showed up under XSLTC. When setting the
encoding a related field was not set. Fixed this by over-riding the
set method for the stream serializers.
Revision Changes Path
1.30 +12 -1 xml-xalan/java/src/org/apache/xml/serializer/ToStream.java
Index: ToStream.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/ToStream.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ToStream.java 18 Feb 2004 22:57:44 -0000 1.29
+++ ToStream.java 1 Jun 2004 22:43:30 -0000 1.30
@@ -2908,4 +2908,15 @@
// this.m_writer = null;
}
+
+ /**
+ * Sets the character encoding coming from the xsl:output encoding stylesheet attribute.
+ * @param encoding the character encoding
+ */
+ public void setEncoding(String encoding)
+ {
+ super.setEncoding(encoding);
+ m_maxCharacter = Encodings.getLastPrintable(encoding);
+ return;
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic