//--- we must try to resolve imports from the web using the
//--- oasis catalog
String scFile;
if (schemaLoc.startsWith("http:")) {
Resolver resolver = ResolverWrapper.getInstance();
scFile = resolver.getXmlResolver().resolveURI(schemaLoc);
if (Log.isDebugEnabled(Geonet.SCHEMA_MANAGER)) {
Log.debug(Geonet.SCHEMA_MANAGER, "Cats: " +
Arrays.toString(resolver.getXmlResolver().getCatalogList()) +
" Resolved " + schemaLoc +
" " + scFile);
}
if (scFile == null) { // what use is this? old behaviour