vgritsenko    01/06/21 19:19:10

  Modified:    src/org/apache/cocoon/transformation Tag: cocoon_20_branch
                        TraxTransformer.java
  Log:
  Commented out hack for previous Xalan version: used class does not exist anymore.
  But does new Xalan stops transformation threads correctly now or not?
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.15.2.3  +6 -3      
xml-cocoon2/src/org/apache/cocoon/transformation/TraxTransformer.java
  
  Index: TraxTransformer.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/org/apache/cocoon/transformation/TraxTransformer.java,v
  retrieving revision 1.15.2.2
  retrieving revision 1.15.2.3
  diff -u -r1.15.2.2 -r1.15.2.3
  --- TraxTransformer.java      2001/06/19 12:07:27     1.15.2.2
  +++ TraxTransformer.java      2001/06/22 02:19:08     1.15.2.3
  @@ -100,7 +100,7 @@
    * @author <a href="mailto:[EMAIL PROTECTED]";>Davanum Srinivas</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Carsten Ziegeler</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Giacomo Pati</a>
  - * @version CVS $Id: TraxTransformer.java,v 1.15.2.2 2001/06/19 12:07:27 dims Exp $
  + * @version CVS $Id: TraxTransformer.java,v 1.15.2.3 2001/06/22 02:19:08 vgritsenko 
Exp $
    */
   public class TraxTransformer extends ContentHandlerWrapper
   implements Transformer, Composable, Recyclable, Configurable, Cacheable, 
Disposable, URIResolver {
  @@ -321,9 +321,9 @@
           try {
               this.manager = manager;
               getLogger().debug("Looking up " + Roles.STORE);
  -            this.store = (Store) manager.lookup(Roles.STORE);
  +            this.store = (Store) this.manager.lookup(Roles.STORE);
               getLogger().debug("Looking up " + Roles.BROWSER);
  -            this.browser = (Browser) manager.lookup(Roles.BROWSER);
  +            this.browser = (Browser) this.manager.lookup(Roles.BROWSER);
           } catch (Exception e) {
               getLogger().error("Could not find component", e);
           }
  @@ -570,6 +570,8 @@
       {
           //FIXME: Patch for Xalan2J, to stop transform threads if
           //       there is a failure in the pipeline.
  +        /* VG: Xalan 2.2.0 does not have this class.
  +               Does it stop now transform threads correctly?
           try {
               Class clazz =
                   
Thread.currentThread().getContextClassLoader().loadClass("org.apache.xalan.stree.SourceTreeHandler");
  @@ -584,6 +586,7 @@
           } catch (Exception e){
               getLogger().debug("Exception in recycle:", e);
           }
  +        */
           this.transformerHandler = null;
           this.objectModel = null;
           this.inputSource = null;
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to