String type = attributes.getValue(XmlConstants.Attributes.TYPE);
if (type == null || type.length() == 0) {
throw new KongaSaxParserException("Invalid integration project XML: missing entity type attribute."); //$NON-NLS-1$
}
try {
EntityType rootType;
// Backwards compatibility for change made in 1.5.0 when EntityType.InterchangeProject was
// renamed to EntityType.Project:
if (type.equals("InterchangeProject")) {
rootType = EntityType.Project;
} else if (type.equals("User") || type.equals("Group")) {