OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-wsia message

[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


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>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC