- From: Anli Shundi <ashundi@tibco.com>
- Date: Mon, 4 Aug 2003 18:23:31 -0400
- To: "W3c Xml-Schema Comments" <www-xml-schema-comments@w3.org>
- Cc: "Ashok Malhotra" <ashokma@microsoft.com>, "Dave Peterson" <davep@acm.org>
The value of totalDigits at the example [1] <simpleType name='celsiusBodyTemp'> <restriction base='decimal'> <totalDigits value='4'/> <fractionDigits value='1'/> <minInclusive value='36.4'/> <maxInclusive value='40.5'/> </restriction> </simpleType> should probably be 3 -- if at all present. The presence of both minInclusive and maxInclusive make totalDigits superfluous. The fractionDigits set to 1 means that only one digit after the decimal point is allowed. Considering the other three facets all valid values have at max 3 digits. -Anli http://www.w3.org/XML/Group/2002/09/xmlschema-2/datatypes-with-errata.html#rf-fractionDigits P.S. The magnitude of a (live) person's body temperature on the Celsius scale would probably go up to 42 Celsius... Anli Shundi TIBCO Software Inc. www.tibco.com
Received on Monday, 4 August 2003 18:23:42 UTC