You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mm...@locus.apache.org on 2000/04/12 19:06:46 UTC
cvs commit: xml-xalan/src/org/apache/xalan/xpath XPathProcessorImpl.java
mmidy 00/04/12 10:06:45
Modified: src/org/apache/xalan/xpath XPathProcessorImpl.java
Log:
Re-initialize the token queue each time we get called
Revision Changes Path
1.31 +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.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- XPathProcessorImpl.java 2000/03/29 03:51:54 1.30
+++ XPathProcessorImpl.java 2000/04/12 17:06:45 1.31
@@ -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;