namespaceURI can be null, but not undefined