// entities
// so only update does not allow non-existing entities
if (changeAction == ChangeAction.UPDATE) {
xec.getEntityResolver().setResolvingMode(ResolvingMode.MUST_EXIST);
}
final List<BaseOBObject> processedObjects = xec.process(doc);
if (xec.getErrorMessages() != null) {
throw new InvalidContentException(xec.getErrorMessages());
}