Fixing Jira Bug #968: http://nagoya.apache.org/jira/browse/XERCESJ-968
Fixing Jira Bug #968:
http://nagoya.apache.org/jira/browse/XERCESJ-968

If no annotations exist for a SchemaGrammar the array
of annotations is never created. For such schema docs
we were passing null to System.arrayCopy which caused
a NullPointerException to be thrown. This is now fixed.


git-svn-id: 21df804813e9d3638e43477f308dd0be51e5f30f@319923 13f79535-47bb-0310-9956-ffa450edef68

ronsigal/xerces,ronsigal/xerces,jimma/xerces,RackerWilliams/xercesj,ronsigal/xerces,RackerWilliams/xercesj,jimma/xerces,RackerWilliams/xercesj,jimma/xerces