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
Saxonica

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

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:
http://www.oxygenxml.com/pipermail/oxygen-user/2012-July/004262.html

And specially:
http://www.oxygenxml.com/pipermail/oxygen-user/2012-July/004265.html

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

Thanks in advance,

					Jirka



------------------------------------------------------------------------------
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 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help