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

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 UTC