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

AW: Sorting Upper-Case first. Microsoft bug?

Subject: AW: Sorting Upper-Case first. Microsoft bug?
From: Markus Abt <abt@xxxxxxxx>
Date: Tue, 5 Aug 2003 21:12:58 +0200
xslt upper case
David,

the XSLT spec. states in chapter 10 "Sorting":

[...]
data-type specifies the data type of the strings; the following values are allowed:
*  text specifies that the sort keys should be sorted lexicographically in the
   culturally correct manner for the language specified by lang
[...]

It seems to me that the XSLT specification wants lexicographic ordering in the
culturally correct manner.
Mabye this is a contradiction, in this case I would regard this an error in the XSLT spec.

I guess, the reference to the UTR 10 in one of the following notes in the spec.
shall relate to the whole chapter 10, however, the bad HTML formatting may
make one think that it only relates to case-order.


Regards,
Markus

__________________________
Markus Abt
Comet Computer GmbH
http://www.comet.de


----------
Von: 	David Carlisle
Gesendet: 	Dienstag, 5. August 2003 19:45
An: 	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: 	Re:  Sorting Upper-Case first. Microsoft bug?


I wrote
  Of course XSLT 1.0 doesn't actualy define "lexicographic" but my
  understanding is that it always implies a direct extension on an
  ordering on characters to an ordering on strings by comparing the first
  different position.

See for example the definition given here:
http://mathworld.wolfram.com/LexicographicOrder.html

Note that (despite the etymology) "lexicographic order" doesn't
necessarily mean "the order used in a dictionary" as dictionaries are
compiled by human compilers and words can appear in whatever order the
compiler chooses which may reflect personal and culturalpreferences as
much as logic. However lexicographic ordering is used in a technical
sense as a method of extending the ordering on one set (the alphabet)
to a derived set (strings over that alphabet).

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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




 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.