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

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:27 UTC