public UniversalNamespaceCache(Document document, boolean toplevelOnly) {
        examineNode(document.getFirstChild(), toplevelOnly);
        if (AzotConfig.GLOBAL.DEBUG && isDebug()) {
            System.out.println("The list of the cached namespaces:");
            for (String key : prefix2Uri.keySet()) {
                System.out.println("prefix " + key + ": uri " + prefix2Uri.get(key));
            }	
		}
    }