Project

Profile

Help

Support #6559 ยป Re_ [Saxon - Bug #6559] (New) Collation with caseFirst=upper doesn_t appear to work - 2024-10-10T17_47_45Z.eml

John Lumley, 2024-10-10 19:47

 
X-He-Spam-Score: -2.2
Return-Path: <john@saxonica.com>
Delivered-To: dropbox@plan.io
Received: from m.launch.gmbh ([127.0.0.1])
by m.launch.gmbh with LMTP
id YFKcBjITCGfa4RoAJzdhvw
(envelope-from <john@saxonica.com>)
for <dropbox@plan.io>; Thu, 10 Oct 2024 19:47:30 +0200
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on m.launch.gmbh
X-Spam-Level:
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,HTML_MESSAGE,MIME_QP_LONG_LINE,
RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,
SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Report:
* -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.1 SPF_PASS SPF check passed
* -0.1 DMARC_PASS DMARC check passed
* 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.0 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76
* chars
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
* query to Validity was blocked. See
* https://knowledge.validity.com/hc/en-us/articles/20961730681243
* for more information.
* [185.27.21.106 listed in bl.score.senderscore.com]
* 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The
* query to Validity was blocked. See
* https://knowledge.validity.com/hc/en-us/articles/20961730681243
* for more information.
* [185.27.21.106 listed in sa-accredit.habeas.com]
X-Spam-Score: -2.2
Authentication-Results: m.launch.gmbh; dmarc=pass (p=reject dis=none) header.from=saxonica.com
Authentication-Results: m.launch.gmbh; spf=pass smtp.mailfrom=saxonica.com
Authentication-Results: m.launch.gmbh;
dkim=pass (2048-bit key; unprotected) header.d=saxonica.com header.i=@saxonica.com header.a=rsa-sha256 header.s=202306 header.b=QyAcJd2l;
dkim-atps=neutral
Envelope-to: inbox+saxonica+f38e+saxon@plan.io
Received: from saxonica.positive-dedicated.net (saxonica.positive-dedicated.net [185.27.21.106])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
(No client certificate requested)
by m.launch.gmbh (Postfix) with ESMTPS id B07121600D6
for <inbox+saxonica+f38e+saxon@plan.io>; Thu, 10 Oct 2024 19:47:29 +0200 (CEST)
Received: from smtpclient.apple (host86-178-32-137.range86-178.btcentralplus.com [86.178.32.137])
by saxonica.positive-dedicated.net (Postfix) with ESMTPSA id 59B711FEF9
for <inbox+saxonica+f38e+saxon@plan.io>; Thu, 10 Oct 2024 18:47:28 +0100 (BST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=saxonica.com;
s=202306; t=1728582448;
bh=cCuvVNZIswpmRUJsDNhjWRflGR9pGTzdPZ7wrKC0fZ0=;
h=From:Subject:Date:References:In-Reply-To:To:From;
b=QyAcJd2l8AwVpeMvak0CcEACeDAKmYOrmB0/JpD/tO0o770teWKG5de2AVjo9GssU
qxAENyB3om0KWBuYuSZ6xPszZE3vliTlEdxEXCjYa7bl26ArM+oJgvKBBGR8YdqKG0
BNlAw87bUmE2n4rHkauVJlJBJJxlRPzIf3LBmU7kX235P43K34/QAEkYurbJMBOPIo
PdyolFjMIYU4eXsytKdUoCm7YnHUBvSrN2fAHhGdlCXhc+XjyzFL8hYw+znyYYns/I
XvHD0rlubWw8aNFdLDo7sfVLRI5kb9BmYBm3Oyhuna7UNEQFamOXurcZHv3te4T/sV
9dlmf2Y8Xunfw==
Content-Type: multipart/alternative; boundary=Apple-Mail-18080BFE-D91B-4379-AC9D-98181BA85758
Content-Transfer-Encoding: 7bit
From: John Lumley <john@saxonica.com>
Mime-Version: 1.0 (1.0)
Subject: Re: [Saxon - Bug #6559] (New) Collation with caseFirst=upper doesn't appear to work
Date: Thu, 10 Oct 2024 18:47:27 +0100
Message-Id: <AB2FCBB3-E0F9-43C3-849D-845AE85AE622@saxonica.com>
References: <redmine.issue-6559.20241010173555.223@plan.io>
In-Reply-To: <redmine.issue-6559.20241010173555.223@plan.io>
To: Saxonica Developer Community <inbox+saxonica+f38e+saxon@plan.io>
X-Mailer: iPad Mail (19H386)


--Apple-Mail-18080BFE-D91B-4379-AC9D-98181BA85758
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable

https://www.saxonica.com/documentation12/index.html#!localization/unicode-co=
llation-algorithm Suggests that with HE you won=E2=80=99t be using UCA, and r=
everting to the JDK collation

Sent from my iPad

> On 10 Oct 2024, at 18:36, Saxonica Developer Community <notifications@plan=
.io> wrote:
>=20
> =EF=BB=BF
> --- In your reply, please do not write below this line ---
>=20
> Issue #6559 has been reported by Tim Grantham.
> Bug #6559: Collation with caseFirst=3Dupper doesn't appear to work OPEN
> Author: Tim Grantham
> Status: New
> Priority: Normal
> Category: XSLT conformance
> Start date: 2024-10-10
> Here is the code that I'm using to sort glossary terms:
>=20
> <xsl:for-each select=3D"current-group()">
> <xsl:sort select=3D"*[contains(@class, ' glossentry/glossterm ')]" c=
ollation=3D"http://www.w3.org/2013/collation/UCA?lang=3Den-US;strength=3Dter=
tiary;caseFirst=3Dupper"/>
> <xsl:apply-templates select=3D"." mode=3D"processTopic"/>
> </xsl:for-each>
>=20
> However, I'm still getting the two terms "association" and "Association" g=
etting sorted with lower-case first.
>=20
>=20
>=20
> Am I doing something wrong?
>=20
> I'm using Saxon-HE-9.9.1-7.
>=20
> Thanks, Tim.
>=20
> Files
> clipboard-202410101330-swmt6.png (15.6 KB)
> You have received this notification because you have either subscribed to o=
r are involved in a project on Saxonica Developer Community site. To change y=
our notification preferences, please click here: https://saxonica.plan.io/my=
/account?tour=3Dmail_preferences
>=20
>=20
> This notification was cheerfully delivered by
>=20
> <signature.asc>

--Apple-Mail-18080BFE-D91B-4379-AC9D-98181BA85758
Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><a href=3D"https://www.saxonica.com/documen=
tation12/index.html#!localization/unicode-collation-algorithm">https://www.s=
axonica.com/documentation12/index.html#!localization/unicode-collation-algor=
ithm</a>&nbsp;Suggests that with HE you won=E2=80=99t be using UCA, and reve=
rting to the JDK collation<br><br><div dir=3D"ltr">Sent from my iPad</div><d=
iv dir=3D"ltr"><br><blockquote type=3D"cite">On 10 Oct 2024, at 18:36, Saxon=
ica Developer Community &lt;notifications@plan.io&gt; wrote:<br><br></blockq=
uote></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF


<!--[if !mso]><!-- -->
<link href=3D"https://assets.plan.io/stylesheets/fonts.css" rel=3D"styleshee=
t" type=3D"text/css">
<!--<![endif]-->

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8"><st=
yle>a:link { color: rgb(0, 136, 183); }
a:visited { color: rgb(0, 136, 183); }
a:hover { color: rgb(0, 136, 183); }
a:active { color: rgb(0, 136, 183); }</style>

<table class=3D"planio_mail" width=3D"100%" cellspacing=3D"0" cellpadding=3D=
"0" style=3D"border-collapse:collapse;margin-bottom:1em;border:1px solid #bb=
b;padding:4px;border-spacing:0;margin-bottom:0;width:100%;border:none;paddin=
g:0">
<tbody><tr><td class=3D"planio_mail header" style=3D"border:1px solid #bbb;p=
adding:4px;text-align:center;width:100%;font-family:MarketWeb, Helvetica, Ar=
ial, sans-serif;font-size:0.8em;color:#D7D7D7;border:none;padding:0"><p>--- I=
n your reply, please do not write below this line ---</p></td></tr>
<tr><td class=3D"planio_mail" style=3D"border:1px solid #bbb;padding:4px;bor=
der:none;padding:0">Issue <a href=3D"https://saxonica.plan.io/issues/6559?pn=
=3D1" style=3D"color:#0088b7">#6559</a> has been reported by Tim Grantham.
<hr style=3D"width:100%;height:1px;background:#ccc;border:0;margin:1.2em 0">=

<h1 style=3D"font-family:&quot;ProximaNova-Bold&quot;, Helvetica, Arial, san=
s-serif;font-weight:normal;margin:0px;font-size:1.3em;line-height:1.4em">
<a href=3D"https://saxonica.plan.io/issues/6559?pn=3D1" style=3D"color:#00=
88b7;text-decoration:none">Bug #6559: Collation with caseFirst=3Dupper doesn=
't appear to work</a>
<span class=3D"badge badge-status-open" style=3D"position:relative;font-we=
ight:bold;font-size:10px;bottom:2px;padding:1px 3px;margin-right:2px;margin-=
left:2px;border-radius:2px;text-transform:uppercase;text-decoration:none;col=
or:#205D86;border:1px solid #205D86">open</span>
</h1>

<ul class=3D"details" style=3D"color:#959595;margin-bottom:1.5em"><li><stron=
g>Author: </strong>Tim Grantham</li>
<li><strong>Status: </strong>New</li>
<li><strong>Priority: </strong>Normal</li>
<li><strong>Category: </strong>XSLT conformance</li>
<li><strong>Start date: </strong>2024-10-10</li></ul>

<p>Here is the code that I'm using to sort glossary terms:</p>
<pre style=3D"font-family:Hack, Consolas, Menlo, &quot;Liberation Mono&quot;=
, Courier, monospace;font-size:85%;background-color:#ececec;word-wrap:break-=
word;margin:1em 0;padding:8px;border:none;border-radius:3px;width:auto;overf=
low-x:auto;overflow-y:hidden"><code class=3D"xml syntaxhl" data-language=3D"=
xml" style=3D"font-family:Hack, Consolas, Menlo, &quot;Liberation Mono&quot;=
, Courier, monospace;font-size:85%;background-color:#ececec;word-wrap:break-=
word;border-radius:3px;padding:0.2em;margin:0;padding:0"><span class=3D"nt">=
&lt;xsl:for-each</span> <span class=3D"na">select=3D</span><span class=3D"s"=
>"current-group()"</span><span class=3D"nt">&gt;</span>
<span class=3D"nt">&lt;xsl:sort</span> <span class=3D"na">select=3D</s=
pan><span class=3D"s">"*[contains(@class, ' glossentry/glossterm ')]"</span>=
<span class=3D"na">collation=3D</span><span class=3D"s">"http://www.w3.org/=
2013/collation/UCA?lang=3Den-US;strength=3Dtertiary;caseFirst=3Dupper"</span=
><span class=3D"nt">/&gt;</span>
<span class=3D"nt">&lt;xsl:apply-templates</span> <span class=3D"na">s=
elect=3D</span><span class=3D"s">"."</span> <span class=3D"na">mode=3D</span=
><span class=3D"s">"processTopic"</span><span class=3D"nt">/&gt;</span>
<span class=3D"nt">&lt;/xsl:for-each&gt;</span>

</code></pre>
<p>However, I'm still getting the two terms "association" and "Association" g=
etting sorted with lower-case first.</p>
<p><img src=3D"https://saxonica.plan.io/attachments/download/272566/clipboar=
d-202410101330-swmt6.png" alt=3D"" data-unique-identifier=3D""></p>
<p>Am I doing something wrong?</p>
<p>I'm using Saxon-HE-9.9.1-7.</p>
<p>Thanks,
Tim.</p>

<fieldset class=3D"attachments" style=3D"border:solid #ccc;border-width:1p=
x 0 0 0"><legend>Files</legend>
<a href=3D"https://saxonica.plan.io/attachments/download/272566/clipboar=
d-202410101330-swmt6.png" style=3D"color:#0088b7">clipboard-202410101330-swm=
t6.png</a>
(15.6 KB)<br>
</fieldset>

<div itemscope=3D"itemscope" itemtype=3D"http://schema.org/EmailMessage"><di=
v itemscope=3D"itemscope" itemprop=3D"action" itemtype=3D"http://schema.org/=
ViewAction"><link itemprop=3D"url" href=3D"https://saxonica.plan.io/issues/6=
559?pn=3D1"><meta itemprop=3D"name" content=3D"View Issue"></div><meta itemp=
rop=3D"description" content=3D"View this issue update on Planio"></div>

</td></tr>
<tr><td class=3D"planio_mail footer" style=3D"border:1px solid #bbb;padding:=
4px;font-size:0.8em;width:100%;border:none;padding:0"><hr style=3D"width:100=
%;height:1px;background:#ccc;border:0;margin:1.2em 0"><p>You have received t=
his notification because you have either subscribed to or are involved in a p=
roject on Saxonica Developer Community site.
To change your notification preferences, please click here: <a href=3D"https=
://saxonica.plan.io/my/account?tour=3Dmail_preferences" class=3D"external" s=
tyle=3D"color:#0088b7">https://saxonica.plan.io/my/account?tour=3Dmail_prefe=
rences</a></p></td></tr>
<tr><td class=3D"planio_mail planio_footer" style=3D"border:1px solid #bbb;p=
adding:4px;text-align:center;width:100%;font-family:MarketWeb, Helvetica, Ar=
ial, sans-serif;font-size:1.2em;color:#D7D7D7;border:none;padding:0"><br><di=
v><a href=3D"https://plan.io/" style=3D"color:#0088b7;color:#D7D7D7;text-dec=
oration:none">This notification was cheerfully delivered by</a></div></td></=
tr>
<tr><td class=3D"planio_mail planio_footer_logo" style=3D"border:1px solid #=
bbb;padding:4px;text-align:center;width:100%;border:none;padding:0"><a href=3D=
"https://plan.io/" title=3D"Planio" style=3D"color:#0088b7"><img src=3D"http=
s://assets.plan.io/images/planio_logo_gray_204x50.png" height=3D"25" width=3D=
"102" border=3D"0" alt=3D"Planio" style=3D"vertical-align:middle;border:none=
" data-unique-identifier=3D""></a></td></tr>
</tbody></table>


<div>&lt;signature.asc&gt;</div></div></blockquote></body></html>=

--Apple-Mail-18080BFE-D91B-4379-AC9D-98181BA85758--
    (1-1/1)