location.append(((ComplexType)structure).getName());
}
break;
case Structure.MODELGROUP:
ModelGroup group = (ModelGroup)structure;
parent = group.getParent();
if (parent.getStructureType() != Structure.SCHEMA)
getSchemaLocation(parent, location);
if (group.getName() != null) {
location.append(GROUP_ID);
location.append(group.getName());
}
break;
case Structure.ATTRIBUTE:
parent = ((AttributeDecl)structure).getParent();