Re: [xslt] Support of lang on xsl:sort
- From: Daniel Veillard <veillard redhat com>
- To: Jirka Kosek <jirka kosek cz>
- Cc: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] Support of lang on xsl:sort
- Date: Tue, 7 Sep 2004 07:11:29 -0400
On Mon, Sep 06, 2004 at 07:03:13PM -0400, Daniel Veillard wrote:
> On Mon, Sep 06, 2004 at 01:01:45PM +0200, Jirka Kosek wrote:
> > Hi,
> >
> > I tried to find some documentation about using different sort orders in
> > the libxslt, but I was completely unsuccessful.
> >
> > Can xsltproc use locale provided by underlying OS when there is language
> > specified in lang attribute?
>
> by default no. Depending on the locale is IMHO an abomination, and the
> I18N zillion different sort depending on the language is also an
> abomination, plus the only current implementation (ICU) is a pig
> 5 times larger than libxslt/xsltproc itself. Eek, no ...
Thinking more about it I may want to reopen that decision. We may be
able to reuse some of the locale support of the library to affect sorting
even without a full ICU like support. I really dislike relying on locales
but that's what the spec says :-(
Could you open a bug about this ?
thanks,
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]