String name = p.getPropertySG().getXMLFieldName();
for (int j = i+1; j < elementParticles.size(); j++) {
Particle qParticle = elementParticleArray[j];
ParticleSG q = qParticle.getParticleSG();
if (name.equals(q.getPropertySG().getXMLFieldName())) {
ObjectSG pObject = p.getObjectSG();
ObjectSG qObject = q.getObjectSG();
if (!pObject.isGlobal() || !qObject.isGlobal() ||
pObject != qObject) {
throw new SAXParseException("Multiple element particles named " + name
+ ", which aren't references to "
+ " a common global element, are present in a common"
+ " complex type. (JAXB 1.0, 5.9.7.4.a) Use jaxb:property/@name"