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

Sort not sorting revisited

Subject: Sort not sorting revisited
From: "Steve Dondley" <stevedondley@xxxxxxxxx>
Date: Wed, 2 Apr 2003 09:46:59 -0500
not sorting
I posted on this yesterday but I found the problem.  Now I'm curious to know
a little more about it.

The problem was that when sorting on this XML snippet using XSL:

<vendor_name>AAAAAAAA</vendor_name>
<vendor_name>
ZZZZZZZ
</vendor_name>

ZZZZZ would come before AAAAAAAA.  The sort was being performed by IE 6.0.
After much hair pulling, I finally figured out it was because of the
carriage return
that preceded the ZZZZZZ (the actual XML doc was much bigger, hiding the
problem).

First question: It seems odd to me that the newline character would be
considered significant and not get stripped.  Why is this not so?  Or is it
a non-compliant feature of Microsoft's implementation of XSL?

If it is the correct behavior, what's the standard practice for avoiding
this problem?


 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.