Document root = forest.get(location);
if(root == null)
return null;
WSDLDocument document = new WSDLDocument(forest, errReceiver);
document.setSystemId(location);
TWSDLParserContextImpl context = new TWSDLParserContextImpl(forest, document, listeners, errReceiver);
Definitions definitions = parseDefinitions(context, root);
document.setDefinitions(definitions);
return document;
}