Changes between Version 2 and Version 3 of CmdiClavasIntegration
- Timestamp:
- 12/05/12 14:52:23 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CmdiClavasIntegration
v2 v3 41 41 {{{ 42 42 #!xml 43 43 <language clavas:id="http://cdb.iso.org/lg/CDB-00138580-001">Dutch</language> 44 44 }}} 45 45 … … 49 49 50 50 Vocabularies can be designated as either closed or open, and Arbil will present them accordingly but will always allow arbitrary input (as it does now). We have to accept that values cannot always be validated against closed vocabularies coming form an external service (in contrast to closed controlled vocabularies that come from the schema as we already have). Applications like Arbil and harvesters could have validation steps in addition to schema validation that check the validity of the values in elements that have a vocabulary reference. Possibly Schematron could be used to implement this. 51 52 Taking these things into account, an element specification in a CMDI component or profile could look something like: 53 54 {{{ 55 #!xml 56 <CMD_Element 57 name="Institution" 58 CardinalityMax="1" 59 CardinalityMin="1" 60 clavas:vocabulary="http://openskos.org/api/institutions" 61 clavas:type="open" 62 clavas:label="prefLabel" 63 /> 64 }}} 65 66 The "clavas"-attributes could go straight into the generated profile XSD, pretty much like the "datcat"-attributes and read like that from the schema by client applications. 51 67 52 68 === CLAVAS vocabulary sources ===