W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

[Bug 16713] New: locate a namespace returns value of no-namespace xmlns="" attribute

From: <bugzilla@jessica.w3.org>
Date: Thu, 12 Apr 2012 11:42:46 +0000
To: www-dom@w3.org
Message-ID: <bug-16713-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16713

           Summary: locate a namespace returns value of no-namespace
                    xmlns="" attribute
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
        AssignedTo: annevk@opera.com
        ReportedBy: simonp@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org


http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#locate-a-namespace

"or whose namespace prefix is null and local name is "xmlns"" maybe we should
ignore xmlns attributes in no namespace.

var elm = document.createElementNS('foo', 'x:y');
elm.setAttribute('xmlns', 'bar'); // no-namespace attribute
elm.lookupNamespaceURI(null); // bar per spec

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 12 April 2012 11:42:52 GMT

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