Subject: Re: Bug in 'xsl:sort'. ( XT vs SAXON. ) From: James Clark <jjc@xxxxxxxxxx> Date: Tue, 08 Aug 2000 17:08:11 +0700 |
XT uses a java.text.Collator obtained by a call to java.text.Collator.getInstance(Locale); this seems to be the standard JDK way of doing culturally correct sorting. Kay Michael wrote: > > You left out another quote from the spec: > > <note>It is possible for two conforming XSLT processors not to sort exactly > the same</note> > > I don't know of any authority that tells me how to sort "lexicographically > in the culturally correct manner" for English. The XSLT spec has a > non-normative reference to a Unicode technical report (which it's quite > possible James Clark tries to follow in xt). The fact is, if you look at two > phone directories or indexes to see whether "-" collates before "0", you'll > get two different answers. > > (Actually, I decided that once you get into "culturally correct" collating, > there are so many different conventions that it's not worth trying very hard > to get it right: instead I concentrated on providing user hooks to allow > user-defined collating sequences in Saxon.) XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Bug in 'xsl:sort'. ( XT vs SAXO, Kay Michael | Thread | replacing key() with pipe., Paul Tchistopolskii |
Re: "Skip until"??, Jeni Tennison | Date | RE: XSL Filtering, Linda van den Brink |
Month |