// if this is an inline import without a schema location
// xmlschema does not load the schema.
// so we try to figure out it either from the available schemas
// or from the laded schemas.
if ((externalSchema == null) && externalComponet instanceof XmlSchemaImport){
XmlSchemaImport xmlSchemaImport = (XmlSchemaImport) externalComponet;
String importNamespce = xmlSchemaImport.getNamespace();
if ((importNamespce != null) && !importNamespce.equals(Constants.URI_2001_SCHEMA_XSD)) {
if (loadedSchemaMap.containsKey(importNamespce)) {
externalSchema = (XmlSchema) loadedSchemaMap.get(importNamespce);
} else if (availableSchemaMap.containsKey(importNamespce)) {
XmlSchema tempSchema = (XmlSchema) availableSchemaMap.get(importNamespce);