}
final Source value = getSource(module.getAltDDs().get("validation.xml"));
if (value != null) {
try {
ValidationConfigType validationConfigType = JaxbOpenejb.unmarshal(ValidationConfigType.class, ((Source) value).get(), false);
module.setValidationConfig(validationConfigType);
} catch (Exception e) {
logger.warning("can't read validation.xml to construct a validation factory, it will be ignored");
}
}