- From: <sandygao@ca.ibm.com>
- Date: Thu, 24 Jan 2002 15:45:40 -0500
- To: www-xml-schema-comments@w3.org, xmlschema-dev@w3.org
Hi. In datatype spec, 4.3.11, there is an example about totalDigits. It says the example is for numbers less than 1,000,000 with 2 fraction digits. <restriction base='decimal'> <totalDigits value='8'/> <fractionDigits value='2' fixed='true'/> </restriction> But "fixed" means that "factionDigits" can't be assigned to other value in derived types, not that the value has to have 2 fraction digits. So 10,000,000 is allowed by the above type. I don't think schema datatype has the ability to construct a type satisfying the above conditions just using totalDigits and fractionDigits. What do you think? Is it an erratum? Thanks, Sandy Gao Software Developer, IBM Canada (1-905) 413-3255 sandygao@ca.ibm.com
Received on Thursday, 24 January 2002 15:45:50 UTC