[XML-SIG] DOM and empty namespaces

Uche Ogbuji uche.ogbuji@fourthought.com
Wed, 21 Nov 2001 07:11:03 -0700


> I would like to add an assertion in the NS methods of 4DOM, to make sure
> that they are not called with empty strings as the namespaceURI. 

I think it's a good idea, given all the confusion over this issue.

> An alternate way would be to silently change the empty string to None, but
> I'm not too keen on that. Maybe a Warning could be used on python 2.1.

Better to fail noisily.  I'd go even stronger than warning.


-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.com               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Boulder, CO 80301-2537, USA
XML strategy, XML tools (http://4Suite.org), knowledge management