private void addSchemas(Options opts, SchemaCompiler schemaCompiler,
Map<String, Element> schemaLists) {
for (String key : schemaLists.keySet()) {
Element ele = schemaLists.get(key);
Bus bus = context.get(Bus.class);
OASISCatalogManager catalog = bus.getExtension(OASISCatalogManager.class);
ele = removeImportElement(ele, key, catalog);
if (context.get(ToolConstants.CFG_VALIDATE_WSDL) != null) {
validateSchema(ele);
}
InputSource is = new InputSource((InputStream)null);