Re: [selectors-api] SVG WG Review of Selectors API

Giovanni Campagna wrote:
> Maybe it was already proposed, but are there any problem to just add a
> new argument to querySelectors and querySelectorsAll, with namespace
> bindings?

The original spec did contain an NSResolover argument, which was based 
upon the XPathNSResolver.  It was dropped for technical reasons and lack 
of use cases.  For a discussion of alternatives, see the thread 
beginning this message:

http://lists.w3.org/Archives/Public/public-webapps/2008JulSep/0115.html

> Hope you'll put this feature at least in version 2 of Selectors API,
> or people will go back to XPath.

It would really help a lot if those who believe being able to resolve 
namespaces is an important feature, could document clear use cases that 
cannot be solved easily without, or would be solved more easily with, 
support for namespaces.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Wednesday, 28 January 2009 14:13:07 UTC