[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: Yago Alvarado <Yago.Alvarado@xxxxxxxxxxxxxx>
Date: Wed, 6 Aug 2003 10:17:46 +0100
sorting by upper case
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:

-
----------------------->8---------------------->8--------------------------
case-order has the value upper-first or lower-first; this applies when
data-type="text", and specifies that upper-case letters should sort before
lower-case letters or vice-versa respectively. 


 For EXAMPLE, if lang="en",then A a B b are sorted with
case-order="upper-first" 
and a A b B are sorted with case-order="lower-first". The default value is 
language dependent.
-
----------------------->8---------------------->8--------------------------

   This is not what one would expect when sorting by case (I'm with David
Carlisle 
on this one) but it seems to me sorting by case (REAL case sorting) wasn't 
a requirement when they created the recommendation. :-(

   Thanks to everyone for your replies. I have now a better understanding
of how the sorting is supposed to work. 

Regards,
Yago

_____________________________________________________________________
This e-mail has been scanned for viruses by MessageLabs.

 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.