Changes between Version 8 and Version 9 of CmdiClavasIntegration
- Timestamp:
- 05/23/13 09:55:49 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CmdiClavasIntegration
v8 v9 102 102 ===== Closed vocabularies ===== 103 103 104 For 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 104 106 {{{ 105 107 #!xml … … 111 113 <ValueScheme> 112 114 <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> 115 117 </enumeration> 116 118 </ValueScheme> … … 118 120 }}} 119 121 120 Text content comes from the selected label. VocabItemhas 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.122 Text 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. 121 123 122 124 ==== Specifying vocabularies in CMDI profile XSD's ==== … … 156 158 cmd:Vocabulary="http://openskos.org/api/languages?label=iso-639-3"> 157 159 <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" /> 160 162 </xs:restriction> 161 163 </xs:simpleType>