[CSS2.1] Numbers don't allow signs in formal grammar, do in prose

As long as I'm close-reading the number syntax:  Section 4.3.1 says
that 'Both integers and real numbers may be preceded by a "-" or "+" to
indicate a sign', but neither the section 4 forward-compatible
formal syntax nor the appendix G formal syntax permits a sign.  Section
4 has

num 		[0-9]+|[0-9]*\.[0-9]+

and appendix G has 

num		[0-9]+|[0-9]*"."[0-9]+

Since the prose trumps the formal syntax, I think this is just an
editorial issue: both {num} macro definitions should read

num 		[+-]?[0-9]+|[0-9]*\.[0-9]+

(We may as well make them consistent with each other at the same time.)

zw

Received on Wednesday, 10 February 2010 23:15:53 UTC