RE: Pattern of language type in XMLSchema.xsd

As a follow-on to my previous email, since RFC 1766 is now obsoleted
by RFC 3066, we would like to submit that the XMLSchema spec. needs to
 
1.	Correct its language to parallel that of XML 1.0 (in the latter's
reference to RFC 1766 "or its successor on the IETF Standards Track") thus
dragging in RFC 3066. 
2.	Correct its language pattern according to the syntax defined
therein, namely
 value="([a-zA-Z]{1,8})(-[a-zA-Z0-9]{1,8})*" 
 
Note this is instead of the previous incorrect suggestion of:
value="([a-zA-Z]{8}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-Z]{1,8})*"
to replace the incorrect original:
value="([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-Z]{1,8})*"
 
 
Regards, 
Yin Leng 
 
  
  
 
-----Original Message-----
From: noah_mendelsohn@us.ibm.com [mailto:noah_mendelsohn@us.ibm.com] 
Sent: Wednesday, 13 March 2002 10:57 AM
To: Yin Leng Husband
Cc: bobatk@microsoft.com; Henry S. Thompson; Murray Maloney; Yin Leng
Husband; www-xml-schema-comments@w3.org
Subject: 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.Husband@compaq.com>
03/11/2002 08:41 PM
 
 
        To:     "Henry S. Thompson" <ht@cogsci.ed.ac.uk>, David Beech 
<David.Beech@oracle.com>, noah_mendelsohn@us.ibm.com, Murray Maloney 
<murray@muzmo.com>
        cc:     Yin Leng Husband <Yin-Leng.Husband@compaq.com>,
bobatk@microsoft.com
        Subject:        Pattern of language type in XMLSchema.xsd
 
 
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
http://www.w3.org/2001/XMLSchema.xsd 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="http://www.w3.org/TR/REC-xml#NT-LanguageID">pattern specifies the
content of section 2.12 of XML 1.0e2 and RFC 1766</xs:documentation> 
  </xs:annotation>
  </xs:pattern>
 
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
value="([a-zA-Z]{8}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-Z]{1,8})*"
 
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 Wednesday, 13 March 2002 18:11:12 UTC