Package: libapache2-modxslt
Version: 2005072700
Severity: normal

*** Please type your report below this line ***
When using xsl:sort in the XSLT stylesheet with libapache2-modxslt, its 
case-sensitive sorting doesn't work as expected or as defined by the W3C 
specification.

I've tried using sort with each of its various options (as listed on 
http://www.w3.org/TR/xslt#sorting), but no matter what I do it always sorts 
the items like this:

 A B C a b c

That's not a correct sorting order according to the spec and it looks like 
it's just putting the in ASCII or Unicode character order.

It should sort them like this: 

  A a B b C c

if case-order="upper-first", or like this:

  a A b B c C

if case-order="lower-first".

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.061010.1
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Attachment: pgp337i6qa9mf.pgp
Description: PGP signature

Reply via email to