W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2001

Re: 5.11 <country> and <language>

From: Peter B. West <pbwest@powerup.com.au>
Date: Fri, 23 Nov 2001 10:56:38 -0500 (EST)
Message-ID: <3BFE71B1.4050407@powerup.com.au>
To: xsl-editors <xsl-editors@w3.org>
Eds,

My apologies for not having followed this up more doggedly.  Through RFC 
3066 I found my way to the ISO 639-2 3-letter codes, ISO 639-2/T 
(Terminology) and ISO 639-2/B (Bibliographic).

Fortunately, Section 2.3, Choice of language tag, of RFC 3066 includes:

  2. When a language has both an ISO 639-1 2-character code and an ISO
       639-2 3-character code, you MUST use the tag derived from the ISO
       639-1 2-character code.

This is handy, because it resolves the 639-2/T vs. 639-2/B selection 
problem.  However, it contradicts the XSL spec quoted below.

Peter

Peter B. West wrote:

> In 5.11 the spec. has:
> 
> <country>
>     A string of characters conforming to an ISO 3166 country code.
> <language>
>     A string of characters conforming to the ISO 639 3-letter code.
> 
> In the copies of the references that I have been recovered, ISO 639 is a 
> 2-letter code.  ISO 3166, on the other hand, defines both 2- and 
> 3-letter country codes.  Is the spec correct here?
> 
> Peter


-- 
Peter B. West  pbwest@powerup.com.au  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"
Received on Friday, 23 November 2001 11:53:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT