[DDI-SRG] DDI Q
Joachim Wackerow
joachim.wackerow at gesis.org
Thu Jul 23 07:17:35 EDT 2009
Wendy,
This looks like we need to improve the documentation for language usage.
ISO 639 is nowhere mentioned. A paragraph regarding the usage of
language could be introduced including some information like below. A
list of elements and attributes which use the ISO code can be added.
A controlled vocabulary can be provided as genericode list for the
two-letter code and the three-letter code as well. I'm not sure if this
is included in the lists of the CV group. I didn't find it in the Ken's
email from 2009-02-13.
I noticed a bug in archive.
/n1:DDIInstance/s:StudyUnit/a:Archive/a:OrganizationScheme/a:Individual/a:Language/@ISO
The attribute ISO should have a value of the ISO code not
LanguageLevelCodeType
This is all work for 3.2. It looks like a minor but non-validating
change. The addition of xml:lang for upper-level elements is anyway pending.
Achim
Joachim Wackerow wrote:
> Hi Benjamin,
>
> The attribute xml:lang is defined by the XML standard. ISO 639 is used
> for language codes.
>
> ISO 639 is used in DDI at several other places where a language code is
> required.
>
> See the official list at:
> http://www.loc.gov/standards/iso639-2/php/code_list.php
>
> The three-letter code list is the newer standard. Usually the two-letter
> code list is used when it is sufficient. The three-letter code list is
> probably more appropriate for your usage. Hopefully you will find all
> languages in this list. If not, tell me.
>
> Please note, that "New codes will no longer be added to ISO 639-1 after
> the publication of a revised standard unless they are also added to ISO
> 639-2."
>
> Details at:
> 4. Relationship between ISO 639-1 to ISO 639-2
> http://www.loc.gov/standards/iso639-2/iso639jac_n3r.html
>
> Achim
>
> benjamin clark wrote:
>> Hello All,
>>
>> We are slowly by slowly working on the DDI and I have 1 question for
>> you. I belief the @lang attribute of many elements is suppose to be
>> an ISO code for the language? I am having trouble finding that list
>> and further what happens when the language does not exist in that list?
>>
>> thanks
>> benjamin d clark
>
>
--
GESIS - Leibniz Institute for the Social Sciences
Postal address: P.O. Box 122155, 68072 Mannheim, Germany
Visiting address: B2 1, 68159 Mannheim, Germany
Phone: +49 (0)621 1246 262
Fax: +49 (0)621 1246 100
E-mail: joachim.wackerow at gesis.org
www.gesis.org/en/institute/
More information about the DDI-SRG
mailing list