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

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