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

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

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 01 Oct 2009 21:39:16 +0200
Message-ID: <4AC50564.5000006@gmx.de>
To: Anne van Kesteren <annevk@opera.com>
CC: Jonas Sicking <jonas@sicking.cc>, Adrian Bateman <adrianba@microsoft.com>, HTML WG <public-html@w3.org>, Tony Ross <tross@microsoft.com>, Sam Ruby <rubys@intertwingly.net>
Anne van Kesteren wrote:
> On Thu, 01 Oct 2009 19:55:02 +0200, Julian Reschke 
> <julian.reschke@gmx.de> wrote:
>> Jonas Sicking wrote:
>>> ...
>>>> Also, dispatching on nodeName is entirely sane if you need to be 
>>>> able to run
>>>> with DOM Level 1.
>>>  How so? An element with nodeName "foo:hello" you have no idea what
>>> meaning it has, unless you also know which namespaceURI it's in.
>>> ...
>> Yes, but it's well-defined how to find out using DOM Level 1.
> Not really, since you cannot find out if you are dealing with a 
> namespaced xmlns attribute or not.

That's an hardly relevant edge case, as far as I can tell (you can only 
get there by manipulating the DOM by Javascript, not as a result of 
parsing an HTML document).

BR, Julian
Received on Thursday, 1 October 2009 19:39:58 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:52 UTC