Chuck, Oleg,

You may be interested in the modifications I have checked in to conf/xml-lang.xml under the FOP_0-20-0_Alt-Design tag. These were prompted by the changes to the handling of ISO 639 language tags in the Errata, although these changes had been flagged some time ago.

I had been using the ISO 639-1 2-letter language codes, as is common usage; e.g. in en_US. The spec has moved to the ISO 639-2 3-letter codes. Unfortunately, there are two sets of 639-2 codes; the terminology and the bibliographic sets, which have a number of differences. The spec defines the terminology set as normative for XSL, but allows for valid 639-2B and 639-1 codes, which are converted to 639-2T.

I have extended the language elements of xml-lang.xml to look like:
<!ELEMENT language EMPTY>
<!ATTLIST language
terminology ID #REQUIRED
bibliographic NCNAME #IMPLIED
iso639-1 NCNAME #IMPLIED
EnglishName CDATA #REQUIRED
FrenchName CDATA #REQUIRED
>

xml-lang.xsl is used to generate CountryLanguageScript.java, the class against which all new CountryType, LanguageType and ScriptType PropertyValues are validated.

Peter
--
Peter B. West [EMAIL PROTECTED] http://www.powerup.com.au/~pbwest/
"Lord, to whom shall we go?"


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to