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

[DOMCore] setAttribute() and xmlns prefix match

From: David Flanagan <dflanagan@mozilla.com>
Date: Thu, 25 Aug 2011 16:07:53 -0700
Message-ID: <4E56D5C9.6080606@mozilla.com>
To: www-dom@w3.org
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"?

Received on Thursday, 25 August 2011 23:08:30 GMT

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