I18n comment: hreflang in short forms

Comment from the i18n review of:

Comment 4
At http://www.w3.org/International/reviews/0601-css3-selectors/
Editorial/substantive: E/S
Location in reviewed document:

"E[hreflang|="en"] an E element whose "hreflang" attribute has a hyphen-separated list of values beginning (from the left) with "en""

I think this should be made more generic, ie. replace hreflang with foo in the pattern to match the surrounding text. Otherwise it appears that this only works with hreflang. You could mention hreflang as an example of the type of attribute you have in mind (but see also point 1b), but my understanding is that this attribute can be used not only for xml:lang or lang attributes too, but also in principle for other attributes defined in schemas that use a similar mechanism for values.

If this is not the case, and particularly if xml:lang and lang are not to be used with this selector, that should be made much clearer. 6.3.1 says "For lang (or xml:lang) language subcode matching, please see the :lang pseudo-class." This is not clear enough to say that those attributes are not relevant to this selector, and if my understanding is correct, would probably benefit from the addition of 'also' before 'see' to clarify the sense.

> From: Daniel Glazman 
> [mailto:daniel.glazman@disruptive-innovations.com] 

> #4 I tend to disagree with changing 'hreflang' to 'foo'. We are not
>     only giving here a meaningful example. Nothing in the prose says
>     the selector is restricted to lang or hreflang

Received on Saturday, 21 January 2006 10:35:11 UTC