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

On Oct 1, 2009, at 12:39 PM, Julian Reschke wrote:

> 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).

You said it's well-defined how to find out what meaning an element has  
using DOM Level 1 (presumably determining the namespaceURI somehow).  
Can you state or point to the definition?

Regards,
Maciej

Received on Thursday, 1 October 2009 19:55:28 UTC