- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Thu, 01 Oct 2009 21:39:16 +0200
- 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