}
Iterator<?> it = defn.getImports(qname.getNamespaceURI()).iterator();
while (it.hasNext() && result == null) {
ImportImpl imp = (ImportImpl) it.next();
imp.importDefinitionOrSchema();
Definition importedDefinition = (Definition) imp.getDefinition();
if (importedDefinition != null) {
result = resolveUsingFinder (importedDefinition, qname, finder, seen );
}
}