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

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?

Regards,



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