Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: The Latest Development Code, 2.7.1
    • Component/s: Xalan, XSLTC
    • Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
    • Labels:
      None
    • Environment:
      java version "1.6.0_29", latest development code from http://svn.apache.org/repos/asf/xalan/java/trunk

      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.

      1. sorting-example.zip
        5 kB
        Don Smith
      2. sorting-example.zip
        4.88 MB
        Don Smith

        Issue Links

          Activity

          Don Smith created issue -
          Don Smith made changes -
          Field Original Value New Value
          Link This issue is a clone of XALANJ-2546 [ XALANJ-2546 ]
          Don Smith made changes -
          Description 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. 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.
          Don Smith made changes -
          Attachment XALANJ-2546.diff [ 12561499 ]
          Don Smith made changes -
          Affects Version/s The Latest Development Code [ 12312206 ]
          Don Smith made changes -
          Component/s XSLTC [ 11337 ]
          Don Smith made changes -
          Environment java version "1.6.0_20", Xalan 2.7.1 java version "1.6.0_29", latest development code from http://svn.apache.org/repos/asf/xalan/java/trunk
          Don Smith made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s The Latest Development Code [ 12312206 ]
          Resolution Fixed [ 1 ]
          Don Smith made changes -
          Attachment sorting-example.zip [ 12575710 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Don Smith
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development