xsl-list
[Top] [All Lists]

RE: Is this a sorting bug in xalan 6.4.0?

2003-02-07 06:48:43
I'm curious at how Saxon does 
string comparisons for the purpose of implementing xsl:sort.

Saxon 6.5.2 uses codepoint collation by default, but allows you to
select a different collation by means of a user hook (selected via the
data-type attribute of xsl:sort, which is extensible).

Saxon 7.3.1 allows you to specify a collation in detail, using the
<saxon:collation> element; by default it uses the default Java collation
for the specified language, or failing that for the user's locale.
(That's for xsl:sort; for other functions such as compare(), it defaults
to codepoint collation if you don't specify a collation explicitly).

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list