// although it would have been nice to actually get the parse
// error.
if (importDef == null) {
CompilationException ce = new CompilationException(
__cmsgs.errWsdlImportNotFound(im.getNamespaceURI(),
im.getLocationURI()).setSource(new SourceLocation(defuri)));
if (_ctx == null)
throw ce;
_ctx.recoveredFromError(new SourceLocation(defuri), ce);
continue;
}
imported.add(im.getNamespaceURI());
addDefinition((Definition4BPEL) im.getDefinition(), rf, defuri.resolve(im.getLocationURI()));