[XML-SIG] NS/nonNS apis

Alexandre Fayolle Alexandre.Fayolle@logilab.fr
Thu, 19 Jul 2001 09:46:16 +0200 (CEST)


On Wed, 18 Jul 2001, Uche Ogbuji wrote:

> Sigh.  I've resisted doing this (the DOM spec itself gives us excuse not to 
> bothr), but perhaps it's time to bite the performance bullet and make the NS 
> and non-NS APIs smarter about each other.

I know how it feels. 

Would there be a huge penalty in having setAttribute(name,value) use
('',name) as the key for the attribute in the dictionnary ?

The DOM API is already inconsistent in this regard anyway, with the
removeAttributeNodeNS being non existent. 

Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).