[Bug 4036] lang() function: usage of hyphen "-"

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4036





------- Comment #2 from fsasaki@w3.org  2006-12-19 13:27 -------
(In reply to comment #1)
> On the 12/12/2006 telcon the WGs agreed to make the change recommended by Felix
> Sasaki.  They asked me to work with Michael Kay to work out the exact wording. 
> This was done on the (member-only) w3c-xsl-query mailing list.  The final
> wording agreed to with additional input from Michael Sperberg-McQueen and Jim
> Melton was:
> 
> "Otherwise, the function returns true if and only if, based on a caseless
> default match as specified in [The Unicode Standard], either
> (1) $testlang is equal to the string-value of the relevant xml:lang attribute,
> or (2) $testlang is equal to some substring of the string-value of the relevant
> xml:lang attribute that starts at the start of the string-value and ends
> immediately before a hyphen (x2D)."
> 
Thank you very much, Ashok. I'm happy with your resolution. If you don't here
from the i18n core WG anymore in the next three weeks (taking year end break
into account), please regard the issue as closed.
Felix

Received on Tuesday, 19 December 2006 13:28:00 UTC