W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: [selectors-api] Return value of lookupNamespaceURI

From: Sam Weinig <weinig@apple.com>
Date: Fri, 11 Jul 2008 18:18:45 -0700
Cc: public-webapps@w3.org
Message-Id: <63298AA4-13B5-460E-809E-469EEE5887F8@apple.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

I believe undefined and null (as well as the empty string) should turn  
into null.

"While resolving either a prefix or the default namespace, if the  
lookupNamespaceURI() method returns undefined or an empty string, the  
implementation must act as if null had been returned."

On Jul 11, 2008, at 4:47 PM, Boris Zbarsky wrote:

> If the return value of lookupNamespaceURI is |undefined|, should  
> that stringify to "" or "undefined"?  Same question for |null|.
> Note that I'm not sure there's an obvious way to annotate this in  
> web idl yet.
> -Boris
Received on Saturday, 12 July 2008 01:19:26 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:11 UTC