XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XPath 3.1 F&O spec, and HTML ASCII case insensitivecollation

That's the problem with a living spec - anyone daring to refer to it risks the reference becoming dead.

The relevant text now appears to be in section 4.6 Strings:

string A is an ASCII case-insensitive match for a string B, if the ASCII lowercase of A is the ASCII lowercase of B.

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.

(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. We've become very undisciplined - all this important stuff should be deposited on paper copies in bricks-and-mortar libraries).

Michael Kay
Saxonica

On 18 Aug 2023, at 10:21, Mukul Gandhi <mukulg@softwarebytes.org> 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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS