[whatwg] [wf2] repeat-min and max

Quoting Henri Sivonen <hsivonen at iki.fi>:
>>> The test case is wrong according to the current working draft,   
>>> because the value of repeat-max is '0' in the test case and only   
>>> positive integers are allowed values (and other values are ignored).
>>
>> Why is 0 not a positive integer?
>
> Because zero is neither positive nor negative.
> http://mathworld.wolfram.com/Zero.html
> http://mathworld.wolfram.com/PositiveInteger.html
>
>> Don't you have positive and negative 0's?
>
> Only in floating point values as a technical detail--not in pure math 
>  or in two's complement digital integers.

Fair enough.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Friday, 7 April 2006 07:16:53 UTC