xml-xalan-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minc...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xml/serializer ToStream.java
Date Thu, 16 Oct 2003 15:18:04 GMT
minchau     2003/10/16 08:18:04

  Modified:    java/src/org/apache/xml/serializer Tag: xslt20-compiled
                        ToStream.java
  Log:
  Fix for bugzilla 23113
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.21.2.4  +8 -2      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.21.2.3
  retrieving revision 1.21.2.4
  diff -u -r1.21.2.3 -r1.21.2.4
  --- ToStream.java	6 Oct 2003 14:35:48 -0000	1.21.2.3
  +++ ToStream.java	16 Oct 2003 15:18:04 -0000	1.21.2.4
  @@ -2925,11 +2925,17 @@
       {
            this.m_canConvertMeth = null;
            this.m_cdataStartCalled = false;
  -         this.m_charInfo = null; // ?? 
  +         /* The stream is being reset. It is one of
  +          * ToXMLStream, ToHTMLStream ... and this type can't be changed
  +          * so neither should m_charInfo which is associated with the
  +          * type of Stream. Just leave m_charInfo as-is for the next re-use.
  +          * 
  +          */
  +         // this.m_charInfo = null; // don't set to null 
            this.m_charToByteConverter = null;
            this.m_disableOutputEscapingStates.clear();
            
  -         this.m_escaping = false;
  +         this.m_escaping = true;
            // Leave m_format alone for now - bjm
            // this.m_format = null;
            this.m_inDoctype = false;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message