Philip Nye wrote:
> I'm trying to configure a stylesheet for my own custom application.
>
> It appears that attribute(attName) pseudo-element does not work properly when
> the attribute name has upper case letters.
>
> If I change the DTD and stylesheet to a lower case name it works fine, but as
> soon as I introduce upper-case the elementName::attribute(attName)
> construction fails to match.
In CSS, identifiers are not case-sensitive. attName is an identifier,
therefore attName is understood as being attname.
If you really want to specify camel-cased attName, you need to use
something which is *not* an identifier:
* A string: attribute("attName")
* OR a qualified name: attribute(|attName) (|attName is standard CSS3
syntax)