santiagopg 2002/07/30 05:46:14
Modified: java/src/org/apache/xalan/xsltc/compiler Mode.java
Log:
Fixed loop exit condition in prepareTestSequences().
Revision Changes Path
1.24 +2 -2
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Mode.java
Index: Mode.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Mode.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- Mode.java 29 Jul 2002 21:30:51 -0000 1.23
+++ Mode.java 30 Jul 2002 12:46:14 -0000 1.24
@@ -441,7 +441,7 @@
// Complete test sequences with "*", "@*" and "node()"
if (starGroup != null || atStarGroup != null || _nodeGroup != null) {
- final int n = DOM.NTYPES + names.size();
+ final int n = _patternGroups.length;
for (int m, i = DOM.NTYPES; i < n; i++) {
if (_patternGroups[i] == null) continue;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]