mmidy 00/04/12 10:14:13
Modified: src/org/apache/xalan/xpath Tag: Bxalan_1_0_0
XPathProcessorImpl.java
Log:
Re-initialize the token queue each time we get called
Revision Changes Path
No revision
No revision
1.26.2.4 +1 -0
xml-xalan/src/org/apache/xalan/xpath/XPathProcessorImpl.java
Index: XPathProcessorImpl.java
===================================================================
RCS file:
/home/cvs/xml-xalan/src/org/apache/xalan/xpath/XPathProcessorImpl.java,v
retrieving revision 1.26.2.3
retrieving revision 1.26.2.4
diff -u -r1.26.2.3 -r1.26.2.4
--- XPathProcessorImpl.java 2000/03/27 20:45:10 1.26.2.3
+++ XPathProcessorImpl.java 2000/04/12 17:14:12 1.26.2.4
@@ -237,6 +237,7 @@
m_xpath.m_tokenQueueSize = 0;
m_xpath.m_currentPattern = pat;
m_patternMapSize = 0;
+ m_xpath.m_tokenQueue = new Object[XPath.MAXTOKENQUEUESIZE];
m_xpath.m_opMap = new int[XPath.MAXTOKENQUEUESIZE*5];
int nChars = pat.length();
int startSubstring = -1;