[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:09:51 +0100
xslt convert to upper case
> Why it should be called a processor bug?? Processors
> are producing correct result with *all alphabet*

there is no definition of alphabetic as opposed ot non-alphabetic
strings in XSLT. xsl:sort is supposed to work with arbitrary XML, ie
arbitrary unicode content.

The xslt spec does specify some places where sorting may be system
dependent, but it seems to me that this is not one of them.
It explictly states that data-type="text" is the default and that
under that type sorting is lexicographic. thus a system does _not_ have
the option to change that.

It does have an option to change the ordering of individual characters
(it is not forced to use unicode order) eg spaces first or last, or
the example in the spec, whether Hiragana or Katakana is sorted first in
Japanese) but once it has ordered the characters it _must_ order
strings lexicographically.


> . A different behaviour(*for
> strings having numbers*) can be seen as there
> extensions and should be accepted. 

No, It's a bug.

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.