vgritsenko 01/06/21 19:13:34
Modified: src/org/apache/cocoon/transformation 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
1.18 +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.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- TraxTransformer.java 2001/06/19 12:07:16 1.17
+++ TraxTransformer.java 2001/06/22 02:13:31 1.18
@@ -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.17 2001/06/19 12:07:16 dims Exp $
+ * @version CVS $Id: TraxTransformer.java,v 1.18 2001/06/22 02:13:31 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]