W3C home > Mailing lists > Public > public-webapi@w3.org > November 2006

[selectors-api] How to invoke lookupNamespaceURI?

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 18 Nov 2006 20:25:20 +0100
To: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <op.ti778i0x64w2qv@id-c0020>

Latest version:
http://dev.w3.org/cvsweb/~checkout~/2006/webapi/selectors-api/Overview.html?content-type=text/html;%20charset=utf-8

x is an object implementing NSResolver or equivalent Function in case of  
ECMAScript. Everytime x is invoked it will return a different namespace.  
Namespace "1", "2", etc.

What would be the result for each of the following cases:

  * document.matchSingle("x|foo y|foo")
  * document.matchSingle("x|foo X|foo")

Any other cases we need to consider? Do we want to specify this at all (if  
we don't, what should we say)?

This question is in particular aimed at implementors. Please speak up!


The latest version of the draft (1.14) assumes (in an example) that you  
take prefixes from left to right and requires (in prose) that you reuse  
the result for each unique (after lowercasing) prefix.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 18 November 2006 19:25:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:56 GMT