You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/06/03 05:13:49 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/transformer SerializerSwitcher.java
sboag 01/06/02 20:13:49
Modified: java/src/org/apache/xalan/transformer Tag: DTM_EXP
SerializerSwitcher.java
Log:
Fixed really ugly dumb bug where, if the output stream was being copied,
it would copy from itself instead of the old serializer, which would
result in output going to System.out. Amazing that I haven't heard
of this before.
Revision Changes Path
No revision
No revision
1.8.2.1 +1 -1 xml-xalan/java/src/org/apache/xalan/transformer/SerializerSwitcher.java
Index: SerializerSwitcher.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/transformer/SerializerSwitcher.java,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -r1.8 -r1.8.2.1
--- SerializerSwitcher.java 2001/01/04 02:02:35 1.8
+++ SerializerSwitcher.java 2001/06/03 03:13:49 1.8.2.1
@@ -134,7 +134,7 @@
serializer.setWriter(writer);
else
{
- OutputStream os = serializer.getOutputStream();
+ OutputStream os = oldSerializer.getOutputStream();
if (null != os)
serializer.setOutputStream(os);
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org