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: <5.1.0.14.0.20011123192717.00a96300@mail.maden.org>
To: fop-dev@xml.apache.org
Cc: xsl-editors <xsl-editors@w3.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 05:37 23-11-2001, 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?

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.

~Chris
- -- 
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
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBO/8UOqxS+CWv7FjaEQK6CgCfXQVR6lUqHHGGvgdhpi8rsGBKEnEAnRON
oufW5hnO7NsCiSPfl3+706nn
=Trb5
-----END PGP SIGNATURE-----
Received on Sunday, 25 November 2001 05:25:14 GMT

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