DocumentURI documentKey = DocumentFn.computeDocumentKey(href, expressionBaseURI);
DocumentPool pool = context.getController().getDocumentPool();
if (pool.isMarkedUnavailable(documentKey)) {
return false;
}
DocumentInfo doc = pool.find(documentKey);
if (doc != null) {
return true;
}
Item item = DocumentFn.makeDoc(href, expressionBaseURI, context, getSourceLocator());
if (item != null) {