[Bug 3659] Bugs in date/time regexes

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3659





------- Comment #1 from davep@iit.edu  2006-09-06 03:22 -------
(In reply to comment #0)
I haven't checked the others yet, but WRT

> Also, I think I found an error in the grammar; in section 3.3.5.2 it says:
> 
> The ·lexical space· of float is the set of all decimal numerals with or without
> a decimal point, numerals in scientific (exponential) notation, and the
> ·literals· 'INF', '-INF', and 'NaN'
> 
> However, the grammar doesn’t contain ‘INF’, ‘-INF’, and ‘NaN’:
> 
> floatRep ::= noDecimalPtNumeral | decimalPtNumeral | scientificNotationNumeral
> | minimalNumericalSpecialRep
> 
> That should be:
> 
> floatRep ::= noDecimalPtNumeral | decimalPtNumeral | scientificNotationNumeral
> | minimalNumericalSpecialRep | 'INF' | '-INF' | 'NaN'

since the production for minimalNumericalSpecialRep is

  minimalNumericalSpecialRep ::= 'INF' | '-INF' | 'NaN'

I think 'INF', '-INF, and 'NaN' were already covered.

Received on Wednesday, 6 September 2006 03:22:18 UTC