W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Re: ISSUE-41/ACTION-97 decentralized-extensibility

From: Philip Taylor <pjt47@cam.ac.uk>
Date: Thu, 01 Oct 2009 01:25:06 +0100
Message-ID: <4AC3F6E2.9030804@cam.ac.uk>
To: Maciej Stachowiak <mjs@apple.com>
CC: Adrian Bateman <adrianba@microsoft.com>, HTML WG <public-html@w3.org>, Tony Ross <tross@microsoft.com>, Sam Ruby <rubys@intertwingly.net>
Maciej Stachowiak wrote:
> 
> On Sep 30, 2009, at 4:30 PM, Philip Taylor wrote:
> 
>>
>> This claim does not match my experience. For example, 
>> http://philip.html5.org/misc/xmlns-dom.html has the input:
>>
>>  <html xmlns:foo="http://foo.example.com/" 
>> xmlns="http://www.w3.org/1999/xhtml">
>> <body><foo:bar></foo:bar>...
>>
>> and then prints some DOM properties.
> 
> This is good data.  Can you do the same experiment for an namespaced 
> attribute?

http://philip.html5.org/misc/xmlns-attr-dom.html

Proposal says:

name:         ???
nodeName:     foo:bar
localName:    bar
prefix:       foo
namespaceURI: http://foo.example.com/

IE8 (and compat and quirks) says:

name:         foo:bar
nodeName:     foo:bar
localName:    undefined
prefix:       undefined
namespaceURI: undefined

Everybody else says:

name:         foo:bar
nodeName:     foo:bar
localName:    foo:bar
prefix:       null
namespaceURI: null

Everybody in XHTML (http://philip.html5.org/misc/xmlns-attr-dom.xhtml) says:

name:         foo:bar
nodeName:     foo:bar
localName:    bar
prefix:       foo
namespaceURI: http://foo.example.com/

-- 
Philip Taylor
pjt47@cam.ac.uk
Received on Thursday, 1 October 2009 00:25:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:49 GMT