axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/encoding DeserializationContextImpl.java
Date Mon, 21 Oct 2002 14:30:42 GMT
dims        2002/10/21 07:30:42

  Modified:    java/src/org/apache/axis/encoding
                        DeserializationContextImpl.java
  Log:
  Cleanup lexical-handler (for re-use).
  
  Revision  Changes    Path
  1.66      +3 -0      xml-axis/java/src/org/apache/axis/encoding/DeserializationContextImpl.java
  
  Index: DeserializationContextImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/DeserializationContextImpl.java,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- DeserializationContextImpl.java	8 Oct 2002 03:31:32 -0000	1.65
  +++ DeserializationContextImpl.java	21 Oct 2002 14:30:41 -0000	1.66
  @@ -235,6 +235,9 @@
                   parser.setProperty("http://xml.org/sax/properties/lexical-handler", this);
                   parser.parse(inputSource, this);
   
  +                // cleanup - so that the parser can be reused.
  +                parser.setProperty("http://xml.org/sax/properties/lexical-handler", null);
  +
                   // only release the parser for reuse if there wasn't an
                   // error.  While parsers should be reusable, don't trust
                   // parsers that died to clean up appropriately.
  
  
  

Mime
View raw message