[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Sorting Upper-Case first. Microsoft bug?

Subject: RE: Sorting Upper-Case first. Microsoft bug?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 7 Aug 2003 21:39:49 +0100
RE:  Sorting Upper-Case first. Microsoft bug?

   I've been re-reading the W3C Recommendation and although I still think
   the definition for the case-order sorting given in it is misleading to say
   the least, I have to recognise that  if you keep reading the EXAMPLE given
   in it clearly states that  given A,B,a and b the sorting (Upper-case first)
   would be A,a,B,b
      And that's probably why all the implementators followed this rule.

   According to the W3C Recommendation:


But implementers are not following that rule.
The rule given is that the case order affects the ording of characters
and that strings are ordered lexicographically based on that ordering.
This is _not_ what the implementations are doing.

Mike kindly gave the algorithm used in saxon 6. Given the length of time
its been used, I fear its to late to change it, but I can't see any
reading of the W3C rec that could justify such an algorithm.

Well actually there is one reading (as Mike pointed out) you could
assume that sorted lexicographically was being used as a colloquial
turn of phrase rather that specifying lexicographic ordering, but
I don't really see any justification for that (and it certainly never
occured to me before this thread that systems would do that)

David

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.