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

Re: XPath and find/findAll methods

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 22 Nov 2011 14:30:27 +0100
Message-ID: <4ECBA3F3.1040400@lachy.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: public-webapps@w3.org, fantasai <fantasai.lists@inkedblade.net>
On 2011-11-22 14:09, Boris Zbarsky wrote:
> On 11/22/11 8:05 AM, Lachlan Hunt wrote:
>> The current draft of Selectors 4 includes :matches(), though, which can
>> partially handle that case, excluding :not([type]), which would have to
>> be left separate.
>
> That seems like a bug in :matches() that just needs fixing if it's meant
> as a replacement for :any().

Actually, I'm mistaken.  The spec says that :matches() can't be used 
within :not(), rather than the other way around.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Tuesday, 22 November 2011 13:31:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT