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

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