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

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


ashok.malhotra@oracle.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from ashok.malhotra@oracle.com  2006-12-14 18:54 -------
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)."

Received on Thursday, 14 December 2006 18:54:46 UTC