boolean passOnErrors(MessageValidatorEngine mvc, OMElement result) throws XdsInternalException {
AdhocQueryResponseParser aqrp = new AdhocQueryResponseParser(result);
gov.nist.toolkit.registrymsg.registry.AdhocQueryResponse aqr = aqrp.getResponse();
if (!aqr.isSuccess()) {
RegistryErrorListGenerator relg = new RegistryErrorListGenerator();
relg.addRegistryErrorList(aqr.getRegistryErrorListEle(), null);
dsSimCommon.setRegistryErrorListGenerator(relg);
mvc.addMessageValidator("Send RegistryResponse with errors", new RegistryResponseSendingSim(common, dsSimCommon), er);
mvc.run();
return true;
}
return false;
}