Re: [xsl] Sorting Upper-Case first. Microsoft bug?

Subject: Re: [xsl] Sorting Upper-Case first. Microsoft bug?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 5 Aug 2003 17:09:51 +0100
> 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