final long version = Long.valueOf(attributes.getValue("ver"), 16).longValue();
final String user = attributes.getValue("user");
final long id = Long.valueOf(attributes.getValue("id"), 16).longValue();
final ObjectSpecification spec = IsisContext.getSpecificationLoader().loadSpecification(type);
final SerialOid oid = SerialOid.createPersistent(id);
collection = new CollectionData(spec, oid, new FileVersion(user, version));
} else {
throw new SAXException("Invalid data");
}
}
}