W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Re: Non-prefix namespace support

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 30 Nov 2009 08:56:48 +0100
To: "Jonathan Watt" <jwatt@jwatt.org>, www-style@w3.org
Message-ID: <op.u3660ymr64w2qv@anne-van-kesterens-macbook.local>
On Thu, 26 Nov 2009 14:32:40 +0100, Jonathan Watt <jwatt@jwatt.org> wrote:
> Would it be possible to add some sort of prefix independent namespace  
> support to
> selectors? This would allow querySelector/querySelectorsAll (which don't  
> support
> prefixes) to handle namespaced content.
>
> Perhaps something like:
>
>   url("http://www.w3.org/XML/1998/namespace")|tag
>
> or:
>
>   namespace("http://www.w3.org/XML/1998/namespace")|tag
>
> or:
>
>   ns("http://www.w3.org/XML/1998/namespace")|tag
>
> Background:
>
> http://lists.w3.org/Archives/Public/public-webapps/2009OctDec/thread.html#msg971

It's certainly possible, but given how rarely this is needed I'm not  
really convinced this is worth the added complexity. There's plenty of  
workarounds available at the DOM-level.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Monday, 30 November 2009 07:57:33 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:22 GMT