[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: "l@tlo" <lists@traduction-libre.org>
  • Date: Fri, 18 Aug 2023 11:28:02 +0100

Re:  XPath 3.1 F&O spec

(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 ?

Jean-Christophe Helary 

Useful but not sufficient. XSLT 1.0 says:

The format pattern string is in the syntax specified by the JDK 1.1 DecimalFormat class. The format pattern string is in a localized notation: the decimal-format determines what characters have a special meaning in the pattern (with the exception of the quote character, which is not localized). The format pattern must not contain the currency sign (#x00A4); support for this feature was added after the initial release of JDK 1.1.

So it's clear that the spec changed even during the life of JDK 1.1, and working out exactly what's allowed and what isn't therefore needs much more than a snapshot of the documentation at 1.1.4.

Which is why we changed it in XSLT 2.0 to remove the dependency... At the time we did that, the JDK 1.1 documentation was still online. But it was still challenging, because the documentation was woefully imprecise - people implementing XSLT processors in languages other than Java had a pretty tough time.

Michael Kay

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


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.
First Name
Last Name
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.