W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [selectors-nonelement] ::attr(*|localname), ::attr(ns|*), and ::attr(*)

From: Jirka Kosek <jirka@kosek.cz>
Date: Tue, 18 Feb 2014 16:03:08 +0100
Message-ID: <5303762C.1040603@kosek.cz>
To: Simon Sapin <simon.sapin@exyr.org>
CC: www-style <www-style@w3.org>
On 18.2.2014 15:33, Simon Sapin wrote:
>> ::attr(*) selects all attributes with or without namespace.
> 
> But ::attr(href) still only matches attributes without a namespace,

Yes, that's what I would expect. If you want to match attribute in any
namespace you have to use ::attr(*|href).

> and ::attr(xlink|*) is not allowed. Is that intended?

Ops, I missed that this is not covered by existing productions. Should
by fixed now, albeit in a rather clumsy way.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------


Received on Tuesday, 18 February 2014 15:03:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC