ParserUtils.setSchemaResourcePrefix(schemas.toURI().toURL().toString()); ParserUtils.setDtdResourcePrefix(dtds.toURI().toURL().toString()); ParserUtils.setEntityResolver(habitat.getComponent(EntityResolver.class, "web")); } catch (MalformedURLException e) { _logger.log(Level.SEVERE, "webContainer.exceptionSetSchemasDtdsLocation", e);