for (Iterator it = schemaFiles.iterator(); it.hasNext(); ) { schemaLocation = (String) it.next(); final URL schemaUrl = resolveResourceLocation(baseUrl, schemaLocation); AppSchemaDataAccessConfigurator.LOGGER.fine( "parsing schema " + schemaUrl.toExternalForm());
/** Build the catalog for this data access. */ private SchemaCatalog buildCatalog() { String catalogLocation = config.getCatalog(); if (catalogLocation == null) { return null; } else { URL baseUrl; try { baseUrl = new URL(config.getBaseSchemasUrl()); URL resolvedCatalogLocation = resolveResourceLocation(baseUrl, catalogLocation); return SchemaCatalog.build(resolvedCatalogLocation); } catch (MalformedURLException e) { LOGGER.warning( "Malformed URL encountered while setting OASIS catalog location. " + "Mapping file URL: " + config.getBaseSchemasUrl() + " Catalog location: " + config.getCatalog() + " Detail: " + e.getMessage()); return null; } } }
/** * Build the catalog for this data access. */ private AppSchemaCatalog buildCatalog() { String catalogLocation = config.getCatalog(); if (catalogLocation == null) { return null; } else { URL baseUrl; try { baseUrl = new URL(config.getBaseSchemasUrl()); URL resolvedCatalogLocation = resolveResourceLocation(baseUrl, catalogLocation); return AppSchemaCatalog.build(resolvedCatalogLocation); } catch (MalformedURLException e) { LOGGER.warning("Malformed URL encountered while setting OASIS catalog location. " + "Mapping file URL: " + config.getBaseSchemasUrl() + " Catalog location: " + config.getCatalog() + " Detail: " + e.getMessage()); return null; } } }
for (Iterator it = schemaFiles.iterator(); it.hasNext();) { schemaLocation = (String) it.next(); final URL schemaUrl = resolveResourceLocation(baseUrl, schemaLocation); AppSchemaDataAccessConfigurator.LOGGER.fine("parsing schema " + schemaUrl.toExternalForm());