Subject: RE: <sort lang="sv"/> in Saxon
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 16 Oct 2001 10:00:01 +0100
|
>
> I find it interesting that the spec basically states:
> - lang specifies the language of the sort keys;...
>
> I could not find anything which mandates the processor to even
> take a serious look at the language, not to mention doing
> anything the user might expect like doing the sort according
> to the local collating sequence. Is this about to change
> in the next release of the standard?
I don't think it likely that W3C will ever mandate a minimum set of
languages that every processor must support. Some implementors, after all,
might be interested only in serving the Japanese market...
> And, just for curiosity, does anybody know the rationale for
> inventing the xsl:lang attribute rather than using xml:lang?
>
(a) Its semantics are different (it isn't telling you what language is used
for the contents of the xsl:sort element
(b) Its syntax is different (it can be an attribute value template)
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|