sboag       01/07/05 14:52:19

  Modified:    java/src/org/apache/xml/dtm/ref CoroutineSAXParser.java
  Log:
  Revert back to throwing a shutdownException if (arg == null) in co_yield.  I see this
  occur if the parser is Crimson with output\output01, and it causes
  a hang if the shutdownException is not thrown.
  
  Revision  Changes    Path
  1.6       +2 -6      
xml-xalan/java/src/org/apache/xml/dtm/ref/CoroutineSAXParser.java
  
  Index: CoroutineSAXParser.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/CoroutineSAXParser.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CoroutineSAXParser.java   2001/06/24 19:46:40     1.5
  +++ CoroutineSAXParser.java   2001/07/05 21:52:18     1.6
  @@ -719,13 +719,9 @@
             // %REVIEW% For some reason the (arg == null) condition is occuring.
             // You can replicate this sometimes with:
             // testo attribset\attribset01 -flavor th -edump
  -          // Since I'm not sure what good it does to throw a shutdown 
  -          // exception here, I'm simply commenting it out for the time 
  -          // being.
  -          System.err.println(">>> ARG IS NULL!!! <<<");
  -          // throw shutdownException;
  +          // Or with Crimson running, output\output01.
  +          throw shutdownException;
           }
  -
   
           else if (arg instanceof Boolean) {
             boolean keepgoing = ((Boolean)arg).booleanValue();
  
  
  

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

Reply via email to