Author: knoaman
Date: Thu Mar 17 15:19:14 2011
New Revision: 1082532
URL: http://svn.apache.org/viewvc?rev=1082532&view=rev
Log:
Fix for JIRA bug https://issues.apache.org/jira/browse/XERCESJ-1500
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/SchemaGrammar.java
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/SchemaGrammar.java
URL:
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/SchemaGrammar.java?rev=1082532&r1=1082531&r2=1082532&view=diff
==============================================================================
---
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/SchemaGrammar.java
(original)
+++
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/SchemaGrammar.java
Thu Mar 17 15:19:14 2011
@@ -249,7 +249,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]