DTMDocument testDataDoc = _docCache.get(name);
if(testDataDoc == null) {
File testDataFile = new File(xqtsDir, docName);
DocumentTableModel dtm = new DocumentTableModel(false);
dtm.loadDocument(new FileInputStream(testDataFile));
testDataDoc = dtm.documentNode();
_docCache.put(name, testDataDoc);
}
defaultCollectionMap.put(docName, testDataDoc);
// import namespace decl
Map<String, String> nsmap = testDataDoc.documentTable().getDeclaredNamespaces();