SVGT 1.2: no way to tell through uDOM if an attribute is present

Since getAttributeNS returns empty string for both an absent  
attribute and an attribute that is present but with an empty value,  
there is no way to determine through the uDOM whether an attribute is  
absent. This seems like a significant hole in the API and the  
implementation load from adding hasAttributeNS seems small.

I recommend incorporating DOM Level 3 Core hasAttributeNS.

Regards,
Maciej

Received on Tuesday, 27 December 2005 05:46:06 UTC