sboag 01/07/09 08:17:18
Modified: java/src/org/apache/xalan/transformer TransformerImpl.java
Log:
In executeChildTemplates, somehow there was a popMode without
a corresponding pushMode. The pushMode was added.
Addresses bug posted by Stephane Bailliez <[EMAIL PROTECTED]>
on the xalan-dev list on 07/09/2001 07:28 AM.
Revision Changes Path
1.105 +5 -1
xml-xalan/java/src/org/apache/xalan/transformer/TransformerImpl.java
Index: TransformerImpl.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/transformer/TransformerImpl.java,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- TransformerImpl.java 2001/06/27 05:47:47 1.104
+++ TransformerImpl.java 2001/07/09 15:17:15 1.105
@@ -1967,13 +1967,17 @@
try
{
+ if(null != mode)
+ pushMode(mode);
xctxt.pushCurrentNode(xctxt.getDTMHandleFromNode(context));
executeChildTemplates(elem, handler);
}
finally
{
xctxt.popCurrentNode();
-
+
+ // I'm not sure where or why this was here. It is clearly in
+ // error though, without a corresponding pushMode().
if (null != mode)
popMode();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]