You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/06/13 03:07:22 UTC
cvs commit: xml-xalan/java/src/org/apache/xpath XPathContext.java
sboag 01/06/12 18:07:22
Modified: java/src/org/apache/xpath XPathContext.java
Log:
Create a new DTMManager in reset().
Revision Changes Path
1.23 +5 -1 xml-xalan/java/src/org/apache/xpath/XPathContext.java
Index: XPathContext.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/XPathContext.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- XPathContext.java 2001/06/12 19:16:09 1.22
+++ XPathContext.java 2001/06/13 01:07:19 1.23
@@ -332,7 +332,11 @@
/**
* Reset for new run.
*/
- public void reset(){}
+ public void reset()
+ {
+ m_dtmManager = DTMManager.newInstance(
+ org.apache.xpath.objects.XMLStringFactoryImpl.getFactory());
+ }
/** The current stylesheet locator. */
SourceLocator[] m_saxLocations = new SourceLocator[RECURSIONLIMIT];
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org