Thanks, we'll investigate. I don't think Radu's analysis of the Saxon logic is 100% correct, but I'm quite prepared to believe that there is a bug in this area.

Michael Kay

On 25/07/2012 11:55, Jirka Kosek wrote:

I have recently realized that lang attribute on xsl:sort is being
ignored -- or rather used only if matches current locale set in Java. I
originally thought that this was oXygen problem, but oXygen folks thinks
that the bug is in Saxon.

Please see thread at:

And specially:

In short, problem is that <xsl:sort select="." lang="cs"/> works only
sometimes, while <xsl:sort select="."
collation=""/> works as expected.

Thanks in advance,


Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 

saxon-help mailing list archived at