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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to