Re: Pattern of language type in XMLSchema.xsd

By cc:, I am forwarding your note to the schema comments list, which should
bring it to the attention of the schemas workgroup.  Thank you.

Noah Mendelsohn                              Voice: 1-617-693-4036
IBM Corporation                                Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142

                      Yin Leng Husband                                                                                                   
                      <Yin-Leng.                To:       "Henry S. Thompson" <>, David Beech <David.Beech@oracle.     
                      Husband@compaq.            com>,, Murray Maloney <>                     
                      com>                      cc:       Yin Leng Husband <>,           
                                                Subject:  Pattern of language type in XMLSchema.xsd                                      
                      03/11/2002 08:41                                                                                                   

I am a member of the UDDI Working Group.

As part of our work in defining the forthcoming v3 of the Universal
Description, Discovery, and Integration (UDDI) specification, we in the
UDDI Working Group have found the need to refer to the XMLSchema's language
type and its pattern as defined in and
reproduced below:

<xs:pattern value="([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-
Z]{1,8})*" id="language.pattern">
  - <xs:annotation>
    <xs:documentation source="">
  pattern specifies the content of section 2.12 of XML 1.0e2 and RFC 1766</

We believe that the first alternative in the pattern value should be
changed from 2 alpha-characters to 8 alpha-characters as RFC 1766 defines
Language-Tag = Primary-tag *( "-" Subtag )
    Primary-tag = 1*8ALPHA
    Subtag = 1*8ALPHA
That is, the pattern's value should be changed to

We would like to submit the above as an errata to the XMLSchema.xsd,
especially since RFC 3066 (Jan 2001), which obsoletes RFC 1766, refers to
3-letter language codes.
Please direct any feedback on this note to me on behalf of the UDDI WG.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
Thank you,
Yin Leng

Yin-Leng Husband, Compaq Computer Corporation
Team lead of Internationalization team, UDDI Working Group

Received on Tuesday, 12 March 2002 20:12:36 UTC