W3C home > Mailing lists > Public > xml-editor@w3.org > April to June 2000

Re: Official ISO 639 changes

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Tue, 25 Apr 2000 13:24:25 -0400
Message-Id: <v04210101b52b83209efd@[]>
To: "Unicode List" <unicode@unicode.org>
Cc: xml-dev@xml.org, xml-editor@w3.org
At 3:10 AM -0800 4/25/00, Michael Everson wrote:
>The RA-JAC agreed a mechanism to ensure that there will be no overlap of
>2-letter and 3-letter codes. It is a cutoff date and precedence rule; I'm
>not sure if it's been cast in resolutionese yet or not. It's dependent on
>the finalization of the revision of 639-1.

Has anybody noticed that XML 1.0 requires 2-letter and forbids 
three-letter language codes? From section 2.1.2 of the XML 1.0 spec:

The Langcode may be any of the following:

   a two-letter language code as defined by [ISO 639], "Codes for the
   representation of names
   a language identifier registered with the Internet Assigned
   Numbers Authority [IANA]; these begin with the prefix "i-" (or "I-")
   a language identifier assigned by the user, or agreed on between parties
   in private use; these must begin with the prefix "x-" or "X-" in
   order to ensure that they do not conflict with names later
   standardized or registered with IANA

Production 35 enforces this constraint.
I think XML needs another erratum here to fix this.

| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
|                  The XML Bible (IDG Books, 1999)                   |
|              http://metalab.unc.edu/xml/books/bible/               |
|   http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/   |
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
Received on Tuesday, 25 April 2000 13:27:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:39 UTC