[XML-SIG] empty prefix

Sylvain Thenault Sylvain.Thenault@logilab.fr
Thu, 6 Dec 2001 16:26:41 +0100 (CET)


One more problem with None vs '' for namespaces prefix:
 
it appears when using pDomlette with default namespaces (xmlns='...'), the
prefix of elements in default namespaces is '' instead of None. As
consequence, if you PrettyPrint the domtree, the default namespaces
attributes will appears twice...

This can easily be fixed by replacing '' with None in
xlm.dom.ext.SplitQName

-- 
Sylvain Thenault

  LOGILAB           http://www.logilab.org