Fix bug introduced in untested r71576. getNamespaces() did not use getCanonicalNamesp...