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:

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
Received on Saturday, 18 November 2006 19:25:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:22 UTC