W3C home > Mailing lists > Public > public-html@w3.org > December 2007

Re: Copypaste error in vague date parsing algorithm

From: Philip TAYLOR <Philip-and-LeKhanh@Royal-Tunbridge-Wells.Org>
Date: Mon, 17 Dec 2007 22:56:08 +0000
Message-ID: <4766FE88.6070608@Royal-Tunbridge-Wells.Org>
To: Henri Sivonen <hsivonen@iki.fi>
CC: public-html WG <public-html@w3.org>

Henri Sivonen wrote:
> Step 21 says:
>> If second is not a number in the range 0 ≤ hour < 60, then fail.
> "hour" should be "second"

Surely neither is required.  A "range" should be
just that, not a compound inequality, so the
text you cite might be better cast as :

"If second is not a number in the range [0, 60), then fail."

This assumes that everywhere else in the document, the
same notation is used to indicate half-closed intervals;
the most common alternative notation would be "[0, 60[".

Received on Monday, 17 December 2007 22:56:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:11 GMT