String filepath = tempDigitalObjects.get(record);
if ((filepath != null) && (!"".equals(filepath))) {
xcdl = extractor.extractProperties(record.getFullname(), filepath);
} else {
DigitalObject rec2 = em.merge(record);
xcdl = extractor.extractProperties(rec2);
}
//xcdl = extractor.extractProperties(record.getFullname(), record);
} catch (PlatoServiceException e) {
log.error("XCDL characterisation failed: "+e.getMessage(),e);