Re: namespaceURI parameter

>I disagree. I think the DOM spec explicitly rejects an empty string as
>being equivalent to no namespace. Setting a namespace attribute is not
>the same as etting/getting a namespace URI on a node.

Either way, I think it's important that the DOM2 spec makes it clear
and explicit whether null or the empty string should be used, or if
both are (must be) accepted.

It's not very important which one is choosen, but I would prefer to use
the empty string as no namespace and explicitly disallow null. That
would be consistent with SAX2.

-- 
/****************************************************************\
* You have just read a message from Mikael Ståldal.              *
*                                                                *
* Remove "-ingen-reklam" from the address before mail replying.  *
\****************************************************************/

Received on Tuesday, 22 August 2000 17:08:39 UTC