W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2011

Re: [DOMCore] setAttribute() and xmlns prefix match

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 26 Aug 2011 11:25:40 -0400
Message-ID: <4E57BAF4.7020608@mit.edu>
To: www-dom@w3.org
On 8/26/11 8:23 AM, Ms2ger wrote:
> On 08/26/2011 01:07 AM, David Flanagan wrote:
>> Step 3 of the setAttribute() algorithm says:
>>>
>>> If "xmlns" is a prefix match for qualifiedName, throw a NAMESPACE_ERR
>>> and terminate these steps.
>> Shouldn't that prefix match include a colon? Or is the intent to exclude
>> attributes like "xmlnsisgreat" and "xmlns2:foo"?
>
> I believe that's indeed the intent. Not sure if that's what we *want*,
> though.

I don't think we want that.  Why would be want it?

-Boris
Received on Friday, 26 August 2011 15:26:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:08 GMT