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(typeName);
final SerialOid oid = SerialOid.createPersistent(id);
object = new ObjectData(spec, oid, new FileVersion(user, version));
} else if (tagName.equals("collection")) {
final String type = attributes.getValue("type");
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();