After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 152501 - libxslt doesn't support lang attribute on xsl:sort out-of-the-box
libxslt doesn't support lang attribute on xsl:sort out-of-the-box
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
1.1.9
Other All
: Normal enhancement
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2004-09-13 13:52 UTC by jirka
Modified: 2008-06-12 09:46 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description jirka 2004-09-13 13:52:17 UTC
According to XSLT spec:

"lang specifies the language of the sort keys; it has the same range of values 
as xml:lang [XML]; if no lang value is specified, the language should be 
determined from the system environment"

It would be very useful if libxslt can use collating provided by underlying OS 
or libc when lang attribute is specified on xsl:sort. This will allow ordinary 
users to use localized sorting in their stylesheets (without need for 
recompiling libxslt against ICU what is task far beyond capabilities of most 
users).
Comment 1 Daniel Veillard 2004-09-13 14:11:20 UTC
Thanks for opening the bug.
For reference on the API to use
  http://people.redhat.com/drepper/tllocale.ps.gz

Daniel
Comment 2 Daniel Veillard 2008-06-12 09:46:32 UTC
I think that's now fixed with the commit of Nick Wellnhofer in the
upstream SVN,

Daniel