SchemaConversionUtils.validateDD(connectorDoc);
specConnnector = connectorDoc.getConnector();
} catch (XmlException ignore) {
// that didn't work try 1.5
try {
ConnectorDocument connectorDoc = ConnectorDocument.Factory.parse(callback.getRaDD());
SchemaConversionUtils.validateDD(connectorDoc);
specConnnector = connectorDoc.getConnector();
} catch (XmlException e) {
throw new DeploymentException("Unable to parse " +
(null == module.getAltSpecDD() ?
"META-INF/ra.xml":
module.getAltSpecDD().toString()), e);