Changes between Version 8 and Version 9 of CmdiClavasIntegration


Ignore:
Timestamp:
05/23/13 09:55:49 (11 years ago)
Author:
twagoo
Comment:

using ConceptLink? instead of VocabItem? for closed vocabs

Legend:

Unmodified
Added
Removed
Modified
  • CmdiClavasIntegration

    v8 v9  
    102102===== Closed vocabularies =====
    103103
     104For closed vocabularies we add the vocabulary uri as an attribute to the element and re-use the existing !ConceptLink attribute on the enumeration items to store the identifier of individual vocabulary items.
     105
    104106{{{
    105107#!xml
     
    111113    <ValueScheme>
    112114      <enumeration>
    113          <item VocabItem="http://cdb.iso.org/lg/CDB-00138580-001">Dutch</item>
    114          <item VocabItem="http://cdb.iso.org/lg/CDB-00138512-001">French</item>
     115         <item ConceptLink="http://cdb.iso.org/lg/CDB-00138580-001">Dutch</item>
     116         <item ConceptLink="http://cdb.iso.org/lg/CDB-00138512-001">French</item>
    115117      </enumeration>
    116118    </ValueScheme>
     
    118120}}}
    119121
    120 Text content comes from the selected label. VocabItem has the URI for each item in the vocabulary. There probably is no need for AppInfo (separate display label). Notice that there currently is no way to represent multilingual vocabularies, so the language will have to be specified in the vocabulary URI with a fallback to the default language of the vocabulary.
     122Text content comes from the selected label. ConceptLink has the URI for each item in the vocabulary. There probably is no need for AppInfo (separate display label). Notice that there currently is no way to represent multilingual vocabularies, so the language will have to be specified in the vocabulary URI with a fallback to the default language of the vocabulary.
    121123
    122124==== Specifying vocabularies in CMDI profile XSD's ====
     
    156158  cmd:Vocabulary="http://openskos.org/api/languages?label=iso-639-3">
    157159  <xs:restriction base="xs:string">
    158     <xs:enumeration value="Dutch" cmd:VocabItem="http://cdb.iso.org/lg/CDB-00138512-001" />
    159     <xs:enumeration value="French" cmd:VocabItem="http://cdb.iso.org/lg/CDB-00138512-001" />
     160    <xs:enumeration value="Dutch" dcr:datcat="http://cdb.iso.org/lg/CDB-00138512-001" />
     161    <xs:enumeration value="French" dcr:datcat="http://cdb.iso.org/lg/CDB-00138512-001" />
    160162  </xs:restriction>
    161163</xs:simpleType>