[DDI-users] versions of elements in a ResourcePackage

Hoyle, Larry larryhoyle at ku.edu
Mon Nov 1 16:17:25 EDT 2010


I can understand why two versions of the same element should not
co-exist in a StudyUnit.

Should two versions with the same id and agency be allowed in a resource
package? The example below contains two versions of the same
hypothetical UniverseScheme containing the Universe " People of Working
age in France ". I would think it would be important to maintain the
older version for studies using it by reference, as well as to have the
newer version to reflect a new situation.






    <g:ResourcePackage id="ManyUniverses" 
                       agency="example.org" 
                       version="1.1.0" 
                       versionDate="2010-10-31">
        <g:Purpose id="OldVersionArchive_Purpose">
            <Content xmlns="ddi:reusable:3_1">Stores multiple versions
of example elements</Content>
        </g:Purpose>
        
        <c:UniverseScheme  id="example_UniverseChange_UniverseScheme" 
                           version="1.0.0"  
                           versionDate="2010-10-01" 
                           agency="example.org">
            <c:UniverseSchemeName
xml:lang="en-US"></c:UniverseSchemeName>            
            <c:Universe  id="example_UniverseChange_FrenchWorkers" 
                         version="1.0.0"   
                         versionDate="2010-10-01">
                <r:Label xml:lang="en-US">People of Working age in
France</r:Label>
                <c:HumanReadable xml:lang="en-US">People of Working age
in France.</c:HumanReadable>
            </c:Universe>
        </c:UniverseScheme>
        
        <c:UniverseScheme  id="example_UniverseChange_UniverseScheme" 
                           version="1.1.0"  
                           versionDate="2010-10-31" 
                           agency="example.org">
            <r:VersionRationale>Universe updated to version
1.1.0</r:VersionRationale>
            <c:UniverseSchemeName
xml:lang="en-US"></c:UniverseSchemeName>            
            <c:Universe  id="example_UniverseChange_FrenchWorkers"
version="1.1.0"   versionDate="2010-10-31">
                <r:VersionRationale>In 2010 the French Senate voted to
raise the retirement age to 62 from 60</r:VersionRationale>
                <r:Label xml:lang="en-US">People of Working age in
France</r:Label>
                <c:HumanReadable xml:lang="en-US">People of Working age
in France. Note that in 2010 the French Senate voted to raise the
retirement age to 62 from 60. The Universe then included more people and
the mean age of those in the universe increased.</c:HumanReadable>
            </c:Universe>
        </c:UniverseScheme>
    </g:ResourcePackage>




Larry Hoyle
Senior Scientist
Institute for Policy & Social Research, University of Kansas
1541 Lilac Lane, Blake 607
Lawrence, KS  66045-3129

http://www.ipsr.ku.edu




More information about the DDI-users mailing list