Author: knoaman
Date: Thu Mar 17 15:22:26 2011
New Revision: 1082533
URL: http://svn.apache.org/viewvc?rev=1082533&view=rev
Log:
Fix for JIRA bug https://issues.apache.org/jira/browse/XERCESJ-1500
Modified:
xerces/java/trunk/src/org/apache/xerces/impl/xs/SchemaGrammar.java
Modified: xerces/java/trunk/src/org/apache/xerces/impl/xs/SchemaGrammar.java
URL:
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xs/SchemaGrammar.java?rev=1082533&r1=1082532&r2=1082533&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/xs/SchemaGrammar.java
(original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/xs/SchemaGrammar.java Thu Mar
17 15:22:26 2011
@@ -234,7 +234,7 @@ public class SchemaGrammar implements XS
fRedefinedGroupDecls = new
XSGroupDecl[grammar.fRedefinedGroupDecls.length];
fRGLocators = new SimpleLocator[grammar.fRGLocators.length];
System.arraycopy(grammar.fRedefinedGroupDecls, 0,
fRedefinedGroupDecls, 0, fRGCount);
- System.arraycopy(grammar.fRGLocators, 0, fRGLocators, 0, fRGCount);
+ System.arraycopy(grammar.fRGLocators, 0, fRGLocators, 0,
fRGCount/2);
}
// List of imported grammars
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]