try {
colurl = resolved.toURL();
} catch (MalformedURLException e) {
throw new DynamicError("Invalid uri: " + argStr);
}
DocumentManager docmgr = dynEnv.getDocumentManager();
DTMDocument doc = docmgr.loadDocument(colurl, dynEnv);
catalog = resolveCatalog(doc, dynEnv);
} else if(unescapedArg.startsWith("/")) {
DbCollection coll = DbCollection.getCollection(unescapedArg);
if(coll == null) {
catalog = Collections.emptyMap();