Re: XPath 3.1 F&O spec, and HTML ASCII case insensitive collation

David Carlisle <[email protected]> Fri, 18 Aug 2023 17:28:04 +0100
Newsgroups gmane.text.xml.devel
Message-ID <CAEW6iOjbCareGzzd5GpWhg2wSSqZzfMzXPPK6z2fqg5OfhdLfg@mail.gmail.com>
--0000000000000a2e0d060335049d
Content-Type: text/plain; charset="UTF-8"

On Fri, 18 Aug 2023 at 10:21, Mukul Gandhi <[email protected]> wrote:

> Hi all,
>     I've been reading the following XPath 3.1 F&O spec section,
> https://www.w3.org/TR/xpath-functions-31/#html-ascii-case-insensitive-collation
> (section 5.3.4 of the XPath 3.1 F&O spec).
>
> This XPath 3.1 F&O spec section says following,
>
> <quote>
> The collation URI
> http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive
> must be recognized by every implementation.
>
> It is used to refer to the HTML ASCII case-insensitive collation as
> defined in [HTML5: A vocabulary and associated APIs for HTML and XHTML]
> (section 2.5, Case sensitivity and string comparison).
> </quote>
>
> The XPath 3.1 F&O spec within its normative references, provides following
> link to HTML5 spec : https://html.spec.whatwg.org/multipage/ (the one
> page HTML5 spec is following, https://html.spec.whatwg.org/).
>
> I'm not able to find the, phrase "Case sensitivity" within the above cited
> HTML5 spec link (i.e, HTML5 spec's link as cited above, doesn't seem to
> have definition(s) related to "Case sensitivity and string comparison").
>
> Due to the above stated facts, can an XPath 3.1 implementation as of now,
> omit complying to XPath 3.1 F&O spec spection
> https://www.w3.org/TR/xpath-functions-31/#html-ascii-case-insensitive-collation
> ?
>
>
> --
> Regards,
> Mukul Gandhi
>

The HTML 5 spec links "ascii case-insensitive" to
https://infra.spec.whatwg.org/#ascii-case-insensitive

David

--0000000000000a2e0d060335049d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, 18 Aug 2023 at 10:21, Mukul G=
andhi &lt;<a href=3D"mailto:[email protected]">mukulg@softwarebytes.=
org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x"><div dir=3D"ltr">Hi all,<br>=C2=A0 =C2=A0 I&#39;ve been reading the foll=
owing XPath 3.1 F&amp;O spec section, <a href=3D"https://www.w3.org/TR/xpat=
h-functions-31/#html-ascii-case-insensitive-collation" target=3D"_blank">ht=
tps://www.w3.org/TR/xpath-functions-31/#html-ascii-case-insensitive-collati=
on</a> (section 5.3.4 of the XPath 3.1 F&amp;O spec).<br><br>This XPath 3.1=
 F&amp;O spec section says following,<br><br>&lt;quote&gt;<br>The collation=
 URI <a href=3D"http://www.w3.org/2005/xpath-functions/collation/html-ascii=
-case-insensitive" target=3D"_blank">http://www.w3.org/2005/xpath-functions=
/collation/html-ascii-case-insensitive</a> must be recognized by every impl=
ementation.<br><br>It is used to refer to the HTML ASCII case-insensitive c=
ollation as defined in [HTML5: A vocabulary and associated APIs for HTML an=
d XHTML] (section 2.5, Case sensitivity and string comparison).<br>&lt;/quo=
te&gt;<br><br>The XPath 3.1 F&amp;O spec within its normative references, p=
rovides following link to HTML5 spec : <a href=3D"https://html.spec.whatwg.=
org/multipage/" target=3D"_blank">https://html.spec.whatwg.org/multipage/</=
a> (the one page HTML5 spec is following, <a href=3D"https://html.spec.what=
wg.org/" target=3D"_blank">https://html.spec.whatwg.org/</a>).<br><br>I&#39=
;m not able to find the, phrase &quot;Case sensitivity&quot; within the abo=
ve cited HTML5 spec link (i.e, HTML5 spec&#39;s link as cited above, doesn&=
#39;t seem to have definition(s) related to &quot;Case sensitivity and stri=
ng comparison&quot;).<br><br>Due to the above stated facts, can an XPath 3.=
1 implementation as of now, omit complying to XPath 3.1 F&amp;O spec specti=
on <a href=3D"https://www.w3.org/TR/xpath-functions-31/#html-ascii-case-ins=
ensitive-collation" target=3D"_blank">https://www.w3.org/TR/xpath-functions=
-31/#html-ascii-case-insensitive-collation</a>?<div><br clear=3D"all"><div>=
<br></div><span class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"=
ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div>Regards,<br></div><div=
>Mukul Gandhi</div></div></div></div></div></blockquote><div><br></div><div=
>The HTML 5 spec links &quot;ascii case-insensitive&quot; to=C2=A0<a href=
=3D"https://infra.spec.whatwg.org/#ascii-case-insensitive">https://infra.sp=
ec.whatwg.org/#ascii-case-insensitive</a></div><div><br></div><div>David</d=
iv><div><br></div><div><br> </div></div></div>

--0000000000000a2e0d060335049d--