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

Re: xsd:decimal type - too parochial?

From: Jérôme Nègre <jerome.negre@e-xmlmedia.fr>
Date: Mon, 14 Jan 2002 11:17:10 +0100
Message-ID: <023e01c19ce4$adb5e4a0$01bf10ac@fischer>
To: <AndrewWatt2001@aol.com>, <www-forms@w3.org>
> 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
> as consisting of the characters 0 to 9 plus a period. See Chapter
> Part 2 of the Recommendation.

This defines what's get in the instance data. It must be locale independant.

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

What you describe here is what you show the user. IMHO, it should use the
platform locale to display it in the expected way.

Received on Monday, 14 January 2002 05:18:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:05 UTC