Re: [selectors-api] querySelector with namespace

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.

Jonathan

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