ValidationContext vctx = new ValidationContext();
ValidationUtils.load(resolves, null, vctx);
ProblemMultiHandler handler = new ProblemMultiHandler();
handler.addHandler(new ProblemConsoleLister());
handler.addHandler(new ProblemLogLister(s_logger));
if (vctx.reportProblems(handler)) {
System.exit(2);
}
// build maps from qualified names to schema holders, and from schema to resolver (necessary since a new
// resolver will be set during the WSDL generation processing)