[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

  • From: Michael Kay <mike@saxonica.com>
  • To: Mukul Gandhi <mukulg@softwarebytes.org>
  • Date: Fri, 18 Aug 2023 11:14:18 +0100

Re:  XPath 3.1 F&O spec
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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.