W3C home > Mailing lists > Public > www-forms@w3.org > January 2002

xsd:decimal type - too parochial?

From: <AndrewWatt2001@aol.com>
Date: Fri, 11 Jan 2002 12:30:20 EST
Message-ID: <8e.21260b5c.29707b2c@aol.com>
To: www-forms@w3.org, xforms@yahoogroups.com
I am not sure if I am correct here but felt it was relevant to raise the 
issue anyway.

The XSD Schema (W3C XML Schema) Recommendation Part 2 defines an xsd:decimal 
as consisting of the characters 0 to 9 plus a period. See Chapter 3.2.3.1 of 
Part 2 of the Recommendation.

Given that a very likely use of XForms is to accept "decimal" numbers which 
are currency how is the situation of, say, Germany where 100.00 Euros is 
expressed as 100,00 to be handled?

I am not sure if the definition of xsd:decimal, as only including a period as 
a decimal separator, was consciously parochial but it does seem questionable 
in the context of a fully internationalised Web.

Any thoughts? Shouldn't XForms aim for something which is more 
internationalised?

Andrew Watt
Received on Friday, 11 January 2002 12:30:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:50 GMT