Re: [DOMCore] is an empty namespace always equal to a null namespace?

On 08/26/2011 12:02 AM, David Flanagan wrote:
> The setAttributeNS() algorithm explicitly includes the following step:
>
>> If namespace is the empty string, let namespace be null.
>
> getAttributeNS, hasAttributeNS and removeAttributeNS do not include this
> step, and, as the spec is currently written, I think they would treat ""
> differently than null. Is that an error in the spec?

I believe so. Fixed: <http://dvcs.w3.org/hg/domcore/rev/13f51d09d178>.

Thanks
Ms2ger

Received on Friday, 26 August 2011 12:23:23 UTC