Actions
Support #6559
closedCollation with caseFirst=upper doesn't appear to work
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
Updated by John Lumley 2 months ago
https://www.saxonica.com/documentation12/index.html#!localization/unicode-collation-algorithm Suggests that with HE you won’t be using UCA, and reverting to the JDK collation
Sent from my iPad
On 10 Oct 2024, at 18:36, Saxonica Developer Community notifications@plan.io wrote:
Updated by Tim Grantham 2 months ago
I retested with Saxon-HE 12.3 and it worked correctly. This item can be closed.
Updated by Michael Kay 2 months ago
- Tracker changed from Bug to Support
- Status changed from New to Closed
Thanks, noted.
Please register to edit this issue
Actions