Michael Glavassevich wrote:
>Hi,
>
>If you're referring to what you can do with XML Schema the definitions
of the built-in simple types [1] are fixed. >The decimal delimiter for
an xs:decimal must always be a '.'.
>
>Thanks.
>
>[1] http://www.w3.org/TR/xmlschema-2/#built-in-datatypes

Yes, the debate raged for years inside and outside the XML Schema WG
over whether locale specificity should be supported.  In the end, the
story became "the instance contains a consistent, validatable data
format, and presentation of that data is a separate concern."  I.e. use
a transform of some sort to make the decimal appear correctly for your
locale, and apply the correct currency symbol, etc.  Model vs. view.

Apologies for the North American-centricity of the choices.  We
justified those choices in part by following the recommendations in the
"W3C Manual of Style"[1] which designates U.S. English be used for
specs.   Granted, it's not that strong a reason.  But at least it gives
some rationale.

Best regards,
David Ezell

[1] http://www.w3.org/2001/06/manual/#Spelling



Reply via email to