[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: Tue, 5 Aug 2003 17:24:16 +0100
microsoft bug definition
me> No, It's a bug.

MK> (therefore, by definition, this is not a
MK> Microsoft non-conformance).

Oh so we are not both Jeni, after all...


  The first says that two implementations may produce different results -
  in other words, the spec does not attempt to be completely prescriptive
  about the output order (therefore, by definition, this is not a
  Microsoft non-conformance)

I don't believe that the first note authorises this behaviour.
it does not give a blanket licence to produce any result, it is an
observation that because character order is language and system
dependent the resulting lexicographic ordering will be too.
The exact places that are system dependent are listed in the normative
text above.

  The second note points to Unicode TR-10:
  http://www.unicode.org/unicode/reports/tr10/index.html

  The key thing here is that case is only considered if the two strings
  (as a whole) are the same except in case.

You mean that this is a feature of the algorithm in TR-10 (I didn't
follow it closely enough to derive this property just now)?

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. If that isn't what is intended I think XSLT
shouldn't use this term and should just directly refer to TR10.

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


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.