[selectors-api] How to invoke lookupNamespaceURI?

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 UTC