sandygao 2004/01/20 06:51:14 Modified: java/src/org/apache/xerces/impl/xs SchemaGrammar.java Log: Fixing bug [24783]: an ArrayIndexOutOfBoundsException. Wrong counter was used as the array index. Revision Changes Path 1.34 +2 -2 xml-xerces/java/src/org/apache/xerces/impl/xs/SchemaGrammar.java Index: SchemaGrammar.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/SchemaGrammar.java,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- SchemaGrammar.java 2 Dec 2003 15:38:38 -0000 1.33 +++ SchemaGrammar.java 20 Jan 2004 14:51:14 -0000 1.34 @@ -493,7 +493,7 @@ fRedefinedGroupDecls = resize(fRedefinedGroupDecls, fRGCount << 1); fRGLocators = resize(fRGLocators, fRGCount); } - fRGLocators[fCTCount/2] = locator; + fRGLocators[fRGCount/2] = locator; fRedefinedGroupDecls[fRGCount++] = derived; fRedefinedGroupDecls[fRGCount++] = base; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]