Re: [selectors-api] Why null as opposed to empty string (or either one) to resolve default namespace

* Boris Zbarsky wrote:
>For what it's worth, it looks to me like Gecko returns the default 
>namespace if "" is passed to lookupNamespaceURI.  It's not clear to me 
>whether that's correct per the DOM3 Core spec.

It is, because it requires that for `null`, and requires to treat empty
strings the same as `null` whenever namespace names are specified.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 11 July 2008 20:21:25 UTC