XML schema draft comments:

Regarding the draft at
http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/:

Section 3.2.3.2 says:

     ...  Leading and trailing zeroes are prohibited subject to the
     following: there must be at least one digit to the right and
     to the left of the decimal point which may be a zero.

That wording is quite muddled.

1.  "there must be at least one digit to the right and to the left of
      the decimal point":  No digit can be both to the left and to the
      right of the decimal point, so the "at least one" requirement
      can never be satisfied.

2.  Which item may be a zero?  As worded, it almost sounds like
     it's the decimal point.

3.  Is it saying there must be a digit that may be zero" or
     is it saying there must be a digit, which may be zero"?


Is the specification trying to say that there must be at least one
digit to the left of the decimal point, that there must be at least
one digit to the right of the decimal point, and that each of those
digits may be a zero?  Or it is trying to specify something else?


Daniel

Received on Wednesday, 9 June 2004 17:02:02 UTC