[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: [wsrp-wsia] [I#101] Valid values for MarkupParams fields
I agree that current practice is the 2 char codes + '-' + country code. All
of the references I have found end up pointing at this page with both the 2
and 3 char language codes. I located the country code page and updated the
language to:
"Locale for which to generate the markup (e.g. “en-US”). Note that current
practice on the Internet uses the format [2 char language code]2 ‘-‘ [2
char country code]3 as per the provided example. The Consumer SHOULD
supply this information based on the setting the End-User has requested."
2 - http://lcweb.loc.gov/standards/iso639-2/langcodes.html
3 - http://www.din.de/gremien/nas/nabd/iso3166ma/codlstp1/en_listp1.html
"Tamari, Yossi"
<yossi.tamari@sap To: wsrp-wsia@lists.oasis-open.org
.com> cc:
Subject: RE: [wsrp-wsia] [I#101] Valid values for MarkupParams
10/24/2002 09:54 fields
AM
Hi Rich,
The locale standard we are now referencing is a 3 char language code, while
what is used by browsers, as well as Java, is a combination of a 2 char
language code and a 2 char country code, separated by either a '-' or a '_'
as you can see in the link in my original message bellow.
I suggest we adapt to the standard used by browsers.
The 0.8 spec is much better than when I raised this issue.
Yossi.
-----Original Message-----
From: Rich Thompson [mailto:richt2@us.ibm.com]
Sent: Thursday, October 24, 2002 3:18 PM
To: wsrp-wsia@lists.oasis-open.org
Subject: Re: [wsrp-wsia] [I#101] Valid values for MarkupParams fields
We reference http://lcweb.loc.gov/standards/iso639-2/langcodes.html for
locale (example="en-US"), and
http://www.isi.edu/in-notes/iana/assignments/media-types/media-types for
markupType (example="application/xhtml+xml").
I just found http://www.iana.org/assignments/character-sets for
markupCharacterSet to reference. I am adding this and an examples as
"UTF-8" and “ISO-10646-Unicode-Latin1”.
Do people have other references to suggest?
Gil Tayar
<Gil.Tayar@webcol To:
wsrp-wsia@lists.oasis-open.org
lage.com> cc:
Subject: [wsrp-wsia]
[I#101] Valid values for MarkupParams fields
10/03/2002 05:22
AM
Topic: markup
Class: Technical
Title: Valid values for MarkupParams fields
Raised by: Yossi Tamari
Document Section: 7.1.3
Description:
We need to define the exact format of the strings that are passed from
consumer to producer in the MarkupParams fields locale, markupCharacterSet,
markupType.
For other string argumets we have a list of constants, but since these
fields are coming off different standards, we need to clearly state the
string format, and give examples.
For example, for the locale field, we should reference ISO-639, ISO-3166,
and give an example like "en-US".
See also http://java.sun.com/j2se/1.4.1/docs/api/java/util/Locale.html for
the JavaDoc of the Locale class.
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC