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

"l@tlo" <[email protected]> Fri, 18 Aug 2023 12:19:53 +0200
Newsgroups gmane.text.xml.devel
Message-ID <[email protected]>

> On Aug 18, 2023, at 12:14, Michael Kay <[email protected]> wrote:
>=20
> That's the problem with a living spec - anyone daring to refer to it =
risks the reference becoming dead.
>=20
> The relevant text now appears to be in section 4.6 Strings:
>=20
> A string A is an ASCII case-insensitive match for a string B, if the =
ASCII lowercase of A is the ASCII lowercase of B.
>=20
> It would probably have been wiser to copy the normative definition =
into the F&O spec, and add a note saying it was equivalent to something =
in HTML.
>=20
> (A lot of people are still using XSLT 1.0, which defines =
format-number() with a normative reference to JDK 1.1 documentation, =
which is no longer obtainable on the web, as far as I can tell.

Would that work ?
=
https://www.cs.princeton.edu/courses/archive/fall97/cs461/jdkdocs/index.ht=
ml

Jean-Christophe Helary=20

> We've become very undisciplined - all this important stuff should be =
deposited on paper copies in bricks-and-mortar libraries).
>=20
> Michael Kay
> Saxonica
>=20
>> On 18 Aug 2023, at 10:21, Mukul Gandhi <[email protected]> =
wrote:
>>=20
>> 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-coll=
ation (section 5.3.4 of the XPath 3.1 F&O spec).
>>=20
>> This XPath 3.1 F&O spec section says following,
>>=20
>> <quote>
>> The collation URI =
http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensiti=
ve must be recognized by every implementation.
>>=20
>> 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>
>>=20
>> 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/).
>>=20
>> 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").
>>=20
>> 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-coll=
ation?
>>=20
>>=20
>> --=20
>> Regards,
>> Mukul Gandhi
>=20

--=20
Jean-Christophe Helary @[email protected]
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php