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

RE: I18N of numeric and datetime types

From: Micah Dubinko <MDubinko@cardiff.com>
Date: Sun, 17 Feb 2002 11:05:06 -0800
Message-ID: <E840F0B7E6189547BDB91DA8BF2228AB28C256@csmail.cardiff.com>
To: "'Eric van der Vlist'" <vdv@dyomedea.com>, www-forms@w3.org
Hi Eric,

With forms, most often the concern is to allow user-entry of numbers and
dates and times (etc.) in a locally acceptable format. In XForms, this is
handled by the form controls; their job is to gather the input from the user
and insert it into the instance data as a valid lexical XML Schema
datatypes.

Examples:
User (in Germany) types "1,23" but "1.23" gets inserted into the instance
data tree.

User picks a date from a calendar control, but "2002-02-17" gets inserted...

Like XML Schema itself, there is little control over localizing at the
lexical level (though you could do some hacking with regular expressions...)

Thanks,

.micah

-----Original Message-----
From: Eric van der Vlist [mailto:vdv@dyomedea.com]
Sent: Sunday, February 17, 2002 5:25 AM
To: www-forms@w3.org
Subject: I18N of numeric and datetime types


Hi,

Sorry if it's a FAQ, but is there any support for localizing W3C XML 
Schema datatypes such as the numerical and date time types?

Thanks

Eric
-- 
See you in Seattle.
                                        http://knowledgetechnologies.net/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Sunday, 17 February 2002 14:08:22 GMT

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