W3C home > Mailing lists > Public > www-international@w3.org > July to September 2012

I18N-ISSUE-183: Use of types questionable? [TURTLE]

From: Internationalization Core Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 07 Sep 2012 15:34:22 +0000
Message-Id: <E1TA0Za-0000t3-Km@tibor.w3.org>
To: www-international@w3.org, public-rdf-comments@w3.org
I18N-ISSUE-183: Use of types questionable? [TURTLE]

http://www.w3.org/International/track/issues/183

Raised by: Addison Phillips
On product: TURTLE

http://lists.w3.org/Archives/Public/www-international/2012JulSep/0067.html
http://www.w3.org/2012/08/15-i18n-minutes.html#item06

Section 2.5.2 has an example of a number:

     :censusYear 2007 ;              # xsd:integer

... that is probably ill-advised. While years are represented by numbers, this might not be a good example of an "integer". There is, after all, a Schema type for year (gYear) that does not remove the 'date-ness' of the value.

Similarly:

    :gdpDollars 14074.2E9 ;         # xsd:double

Currency types are generally complex values (you need a currency identifier such as an ISO 4217 currency code). While the name of the field is illustrative and this is "merely an example", it's usually better to use examples that aren't "poorly internationalized".
Received on Friday, 7 September 2012 15:34:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 7 September 2012 15:34:29 GMT