jkesselm    01/05/15 17:42:17

  Modified:    java/src/org/apache/xml/dtm Tag: DTM_EXP
                        CoroutineSAXParser.java
  Added:       java/src/org/apache/xml/dtm Tag: DTM_EXP
                        CoroutineSAXFilterTest.java
  Log:
  SAX filtering test written. Mostly works.
  
  One unaddressed case: If the parser crashes out, either on request
  (because the user issued doTerminate) or accidentally, the processing
  thread is _not_ informed. This can be addressed by having the main
  thread explicitly catch the exception and issue the exception through
  the coroutine system as if it came from the parser... but  in the case
  Scott is interested in, we would have no way to tell the event source that
  it must do this!
  
  "Quite a three-pipe problem, Watson."
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.12  +5 -1      
xml-xalan/java/src/org/apache/xml/dtm/Attic/CoroutineSAXParser.java
  
  Index: CoroutineSAXParser.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xml/dtm/Attic/CoroutineSAXParser.java,v
  retrieving revision 1.1.2.11
  retrieving revision 1.1.2.12
  diff -u -r1.1.2.11 -r1.1.2.12
  --- CoroutineSAXParser.java   2001/05/15 21:54:01     1.1.2.11
  +++ CoroutineSAXParser.java   2001/05/16 00:42:12     1.1.2.12
  @@ -156,7 +156,11 @@
     /** Bind to the XMLReader. This operation is ignored if the reader has
      * previously been set.
      *
  -   * %REVIEW% Should it instead unbind from the previous reader?
  +   * Just a convenience routine; obviously you can explicitly register
  +   * this as a listener with the same effect.
  +   *
  +   * %REVIEW% Should it unbind from the previous reader if there is one?
  +   * %REVIEW% Do we really need to set fXMLReader???
      *
      * %TBD% This is a quick-hack solution. I'm not convinced that it's
      * adequate. In particular, since in this model parser.parse() is
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +145 -0    
xml-xalan/java/src/org/apache/xml/dtm/Attic/CoroutineSAXFilterTest.java
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to