[1] 引数 namespaceURI が null や空文字列であってもよいのか? (名無しさん)
namespaceURI
null
[2] 文書要素がなければどうなるのか? (名無しさん)
Google search: isDefaultNamespace