You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Don Smith (JIRA)" <ji...@apache.org> on 2012/12/18 15:58:18 UTC

[jira] [Updated] (XALANJ-2567) xsl:sort sorts Polish incorrectly

     [ https://issues.apache.org/jira/browse/XALANJ-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Smith updated XALANJ-2567:
------------------------------

    Description: Sorting the Polish alphabet is incorrect. See correct order at https://en.wikipedia.org/wiki/Polish_alphabet, specifically the Ł character that follows L. Using the files in the attached zip file, I sort the alphabet using xsl:sort with a lang attribute of "pl". The Ł character is sorted at the end instead of between L and M.  (was: I have an XSL stylesheet that uses xsl:sort for a list of names. I added the lang attribute to the sort, using a variable passed to the stylesheet for its value:   lang="{$locale}". When sorting a list of Russian names, the ordering is incorrect. I can see that the parameter value is present and correct in the stylesheet as it executes by using an xsl:message statement. When I hard-code the value of lang to ru (lang="ru"), the sort works correctly. This defect  cause improper sorting in Russian and Polish, a defect in our application.)
    
> xsl:sort sorts Polish incorrectly
> ---------------------------------
>
>                 Key: XALANJ-2567
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2567
>             Project: XalanJ2
>          Issue Type: Bug
>      Security Level: No security risk; visible to anyone(Ordinary problems in Xalan projects.  Anybody can view the issue.) 
>          Components: Xalan
>    Affects Versions: 2.7.1
>         Environment: java version "1.6.0_20", Xalan 2.7.1
>            Reporter: Don Smith
>         Attachments: sorting-example.zip
>
>
> Sorting the Polish alphabet is incorrect. See correct order at https://en.wikipedia.org/wiki/Polish_alphabet, specifically the Ł character that follows L. Using the files in the attached zip file, I sort the alphabet using xsl:sort with a lang attribute of "pl". The Ł character is sorted at the end instead of between L and M.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org