W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2004

XML schema draft comments:

From: Daniel Barclay <daniel@fgm.com>
Date: Wed, 09 Jun 2004 17:01:31 -0400
Message-ID: <40C77AAB.9050207@fgm.com>
To: www-xml-schema-comments@w3.org

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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:34 UTC