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

Re: 5.11 <country> and <language>

From: Christopher R. Maden <crism@maden.org>
Date: Fri, 23 Nov 2001 22:35:36 -0500 (EST)
Message-Id: <>
To: fop-dev@xml.apache.org
Cc: xsl-editors <xsl-editors@w3.org>

Hash: SHA1

At 05:37 23-11-2001, Peter B. West wrote:
>In 5.11 the spec. has:
>     A string of characters conforming to an ISO 3166 country code.
>     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?

By definition, yes... (-:

ISO 639 defines both 2- and 3-letter language codes; see <URL: 
http://www.w3.org/WAI/ER/IG/ert/iso639.htm >.  I actually hadn't noticed 
that the Recommendation requires the 3-letter form; that's a bit of a 
bummer since XML itself allows the two-letter form, which means that a lot 
of my content has things like xml:lang="en-US" in it, which apparently 
can't just be copied into FO output.

- -- 
Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc.
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://www.hmmci.com/ > <URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
Version: PGP Personal Privacy 6.5.8

Received on Sunday, 25 November 2001 05:25:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:22 UTC