You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jk...@apache.org on 2001/10/01 15:03:38 UTC

cvs commit: xml-xalan/java/src/org/apache/xml/dtm/ref IncrementalSAXSource_Filter.java

jkesselm    01/10/01 06:03:38

  Modified:    java/src/org/apache/xml/dtm/ref
                        IncrementalSAXSource_Filter.java
  Log:
  Catch for unwrappered StopException (apparently not all parsers generate
  a SAXException wrapper).
  
  Revision  Changes    Path
  1.6       +5 -0      xml-xalan/java/src/org/apache/xml/dtm/ref/IncrementalSAXSource_Filter.java
  
  Index: IncrementalSAXSource_Filter.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/IncrementalSAXSource_Filter.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- IncrementalSAXSource_Filter.java	2001/08/06 22:17:17	1.5
  +++ IncrementalSAXSource_Filter.java	2001/10/01 13:03:38	1.6
  @@ -650,6 +650,11 @@
       {
         arg=ex;
       }
  +    catch(StopException ex)
  +    {
  +      // Expected and harmless
  +      if(DEBUG)System.out.println("Active IncrementalSAXSource_Filter normal stop exception");
  +    }
       catch (SAXException ex)
       {
         Exception inner=ex.getException();
  
  
  

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