[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Sorting Upper-Case first. Microsoft bug?
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|