W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Re: [selectors-api] querySelector with namespace

From: Jonathan Watt <jwatt@jwatt.org>
Date: Thu, 26 Nov 2009 14:16:09 +0100
Message-ID: <4B0E7F99.3030300@jwatt.org>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: public-webapps@w3.org
On 2009-11-26 1:16 PM, Lachlan Hunt wrote:
> Jonathan Watt wrote:
>> Maybe the working group could consider adding some sort of "non-prefix"
>> namespace support to selectors for the sake of querySelector/querySelectorsAll,
>> something like:
>>    [url("http://www.w3.org/XML/1998/namespace")|id="foo"]
> Your proposal would require modifying the syntax of Selectors, which is 
> out of scope for this working group.

You're right, I'll email the CSS WG.

> As for the issue of resolving namespace prefixes, the previous attempt 
> at including them in the API proved to be a very difficult, time 
> consuming and costly effort that failed to reveal substantial use cases, 
> nor find a viable solution.  As such, my current position is that there 
> has been insufficient justification provided for spending such 
> significant time and effort addressing this issue.

I don't think supporting prefixes in querySelector makes much sense.

Received on Thursday, 26 November 2009 13:16:12 UTC

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