[DDI-SRG] DDI Q
Wendy Thomas
wlt at pop.umn.edu
Thu Jul 23 10:58:56 EDT 2009
I think we just need something clear in the upper level documentation. See
other note about the other attribute.
wendy
On Thu, 23 Jul 2009, A. Gregory wrote:
> Achim:
>
> Am I correct in thinking that @lang is a DDI 1/2.* thing? We actually use
> the schema type in DDI 3.0 for all non-standard (that is, non-xml:lang)
> attributes, because the semantic is different from xml:lang. At least, that
> was the intention.
>
> There is no way to enumerate the values for xml:lang because xml supports
> the extensions provided for in ISO 639. If we want to restrict this, we
> could enumerate.
>
> If there are places in DDI 3.0 where we have incorrectly typed fields which
> are supposed to take a standard language value, we should fix these.
>
> Cheers,
>
> Arofan
>
> -----Original Message-----
> From: ddi-srg-bounces at icpsr.umich.edu
> [mailto:ddi-srg-bounces at icpsr.umich.edu] On Behalf Of Joachim Wackerow
> Sent: Thursday, July 23, 2009 3:18 AM
> To: ddi-srg at icpsr.umich.edu
> Subject: Re: [DDI-SRG] DDI Q
>
> 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:La
> nguage/@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/
> _______________________________________________
> DDI-SRG mailing list
> DDI-SRG at icpsr.umich.edu
> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg
>
> _______________________________________________
> DDI-SRG mailing list
> DDI-SRG at icpsr.umich.edu
> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg
>
Wendy L. Thomas Phone: +1 612.624.4389
Data Access Core Director Fax: +1 612.626.8375
Minnesota Population Center Email: wlt at pop.umn.edu
University of Minnesota
50 Willey Hall
225 19th Avenue South
Minneapolis, MN 55455
More information about the DDI-SRG
mailing list