Subject: RE: [xsl] Is this a sorting bug in xalan 6.4.0? From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Fri, 7 Feb 2003 13:41:19 -0000 |
> I am sure there are lots of people here who can trump my > experience handily, but is my expectation that spaces will be > significant in string sorting, at least by default, really > *that* parochial? We all have parochial assumptions about how strings should be sorted, and they are all different. So the trend is for modern software systems to provide localisation support. Most of the programming languages you referred to probably use "codepoint" collation, where strings are sorted according to their numeric character codes. It looks as if Xalan is trying to do a more intelligent sort. Looking in my dictionary, I find that "ad hoc" appears between "adhibit" and "adiabatic": so you can't simply say that it's wrong to ignore spaces, it's clearly what some users want. XSLT 2.0 (and Saxon 7.3) give you extensive control over the collation, recognizing that there is no one answer that suits everybody. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Is this a sorting bug in , Michael Kay | Thread | RE: [xsl] Is this a sorting bug in , Roger Glover |
RE: [xsl] a quick question re: &nbs, Michael Kay | Date | RE: [xsl] Is this a sorting bug in , Michael Kay |
Month |