Re: xsd:decimal type - too parochial?

> 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.

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
which
> 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.

Jérôme

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