Project

Profile

Help

Support #6559

closed

Collation with caseFirst=upper doesn't appear to work

Added by Tim Grantham 18 days ago. Updated 17 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2024-10-10
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

Here is the code that I'm using to sort glossary terms:

<xsl:for-each select="current-group()">
      <xsl:sort select="*[contains(@class, ' glossentry/glossterm ')]" collation="http://www.w3.org/2013/collation/UCA?lang=en-US;strength=tertiary;caseFirst=upper"/>
      <xsl:apply-templates select="." mode="processTopic"/>
</xsl:for-each>

However, I'm still getting the two terms "association" and "Association" getting sorted with lower-case first.

Am I doing something wrong?

I'm using Saxon-HE-9.9.1-7.

Thanks, Tim.


Files

clipboard-202410101330-swmt6.png (15.6 KB) clipboard-202410101330-swmt6.png Tim Grantham, 2024-10-10 19:30

Please register to edit this issue

Also available in: Atom PDF