W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2007

[XSLTerrata] Undocumented xsl:sort/@lang incompatibility?

From: Tony Graham <Tony.Graham@MenteithConsulting.com>
Date: Sun, 27 May 2007 20:59:05 +0100
To: public-qt-comments@w3.org
Message-ID: <87odk682d2.fsf@zako.menteithconsulting.com>

Section 10, "Sorting", of XSLT 1.0 [1] includes:

   if no lang value is specified, the language should be determined
   from the system environment

Section 13.1.3 "Sorting Using Collations", of XSLT 2.0 [2] includes:

   If none of the collation, lang or case-order attributes is present,
   the collation is chosen in an implementation-defined way.

This difference in expectation in the absence of the 'lang' attribute
(which recently caused unexpected results for me) is not listed in
Appendix J, "Changes from XSLT 1.0 (Non-Normative)", of XSLT 2.0 [3].
Should it be?


Tony Graham.
Tony.Graham@MenteithConsulting.com   http://www.menteithconsulting.com

Menteith Consulting Ltd             Registered in Ireland - No. 428599
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland

[1] http://www.w3.org/TR/xslt#sorting
[2] http://www.w3.org/TR/2007/REC-xslt20-20070123/#xsl-sort
[3] http://www.w3.org/TR/2007/REC-xslt20-20070123/#changes
Received on Sunday, 27 May 2007 19:59:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:18 UTC