Re: Element interface

>a) removeAttribute and removeAttributeNS need a NOT_FOUND_ERR in order
>to operate in the same way as a NamedNodeMap.

removeAttribute is Level 1. In Level 1, removing an attribute that doesn't
exist is a no-op. I don't think we can change that now without risk of
breaking existing code.

Given that precedent, I'd rather have removeAttributeNS be consistant with
removeAttribute than with the NamedNodeMap.

______________________________________
Joe Kesselman  / IBM Research

Received on Monday, 6 March 2000 13:34:43 UTC