[XML-SIG] DOM and empty namespaces

Martin v. Loewis martin@v.loewis.de
Wed, 21 Nov 2001 22:19:56 +0100


> OK, I've just commited the changes to 4DOM. 
> 
>  1. raise NamespaceErr when '' is used as a nsURI

I think that was a mistake. "" is a valid namespace, unless I'm
mistaken. Eg. 

<foo xmlns:empty="">
 <empty:element />
</foo>

conforms to the namespace spec, AFAICT.

>  2. made non NS-aware methods delegate treatment to NS-aware methods when
> available.

That's a good thing.

> Do people want to see something similar to 1. in minidom?
> I can do that while I'm busy with this stuff, though this could have an
> impact on the main python distribution. 

Please don't. I think it is slightly incorrect, and I'm not sure such
a change could be synchronized with Python 2.2.

Regards,
Martin