You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/11/18 13:57:35 UTC

DO NOT REPLY [Bug 24783] New: - ArrayIndexOutOfBoundsException in org.apache.xerces.impl.xs.SchemaGrammar.addRedefinedGroupDecl(SchemaGrammar.java:496)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24783>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24783

ArrayIndexOutOfBoundsException in org.apache.xerces.impl.xs.SchemaGrammar.addRedefinedGroupDecl(SchemaGrammar.java:496)

           Summary: ArrayIndexOutOfBoundsException in
                    org.apache.xerces.impl.xs.SchemaGrammar.addRedefinedGrou
                    pDecl(SchemaGrammar.java:496)
           Product: Xerces2-J
           Version: 2.5.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XML Schema Structures
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: gregor.karlinger@gmx.net


I am running into a ArrayIndexOutOfBoundsException at the position specified in
the summary.

I am quite sure the reason for this is a copy/paste error in line 496 of class
SchemaGrammar. Instead 

        fRGLocators[fCTCount/2] = locator;

it should read

        fRGLocators[fRGCount/2] = locator;

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org