Changes between Version 65 and Version 66 of CMDI 1.2/Specification


Ignore:
Timestamp:
11/18/15 08:14:23 (9 years ago)
Author:
Twan Goosen
Comment:

payload namespace and removed dcr and ann namespaces

Legend:

Unmodified
Added
Removed
Modified
  • CMDI 1.2/Specification

    v65 v66  
    157157|| `cmd`   || `http://www.clarin.eu/cmd/1`                 || CMDI instance (general/envelope)           || prefixed ||
    158158|| `cmdp`   || `http://www.clarin.eu/cmd/1/profiles/{profileId}`                 || CMDI payload (profile specific)            || prefixed ||
    159 || `ann`   || `http://www.clarin.eu`    !!!          || Annotations in profile schema            || prefixed ||
    160 || `dcr`   || `http://www.isocat.org/ns/dcr`                 || Semantic annotation            || prefixed ||
    161159|| `cue`   || `http://www.clarin.eu/cmdi/cues/display/1.0`                 || Cues for tools            || prefixed ||
    162160|| `xs`   || `http://www.w3.org/2001/XMLSchema`                 || XML Schema            || prefixed ||
     
    377375The transformation `MAY` make use of embedded component identifiers in the CMD component definition to derive (complex) types that can be reused throughout the schema definition.
    378376
     377The schema `MUST` declare a profile specific payload namespace in addition to the fixed, global namespaces that are used (in particular `cmd` and `cue`). This namespace, with `RECOMMENDED` prefix `cmdp`, `MUST` have the following format: `http://www.clarin.eu/cmd/1/profiles/{profileId}`, where `{profileId} ` refers to the identifier of the profile from which the schema is derived in the Component Registry.
     378
    379379== Interpretation of CMD component definitions in the CCSL ==
    380380CMD Components which are represented as `<Component>` XML elements in the CCSL, `MUST` be realised as XML element declarations with the following property mapping:
     
    448448 * The XML attribute `@URI` of the XML element  `<Vocabulary>`, if present, `SHOULD` be transformed into an attribute `cmd:Vocabulary`^[#cm-note1 1]^ of the same value on the XML element or attribute declaration in the schema.
    449449 * The XML attributes `@ValueProperty` and `@ValueLanguage` of the XML element `<Vocabulary>` `SHOULD` be transformed into XML attributes^[#cm-note1 1]^ in the 'cmd:' namespace on the XML element declaration in the case of a CMD element or XML attribute declaration in the case of a CMD attribute.
    450  * The XML elements `<item>` that are descendants of `<enumeration>` contained in `<Vocabulary>` `MUST` be transformed into an enumeration based restriction with values taken from the text content of the `<item>` XML elements. Each enumeration item in the schema `SHOULD` be annotated the value from the XML attribute `@ConceptLink` by means of an XML attribute `@dcr:datcat`^[#cm-note1 1]^ and the value of the XML attribute `@AppInfo` by means of an attribute in the 'ann' namespace.
     450 * The XML elements `<item>` that are descendants of `<enumeration>` contained in `<Vocabulary>` `MUST` be transformed into an enumeration based restriction with values taken from the text content of the `<item>` XML elements. Each enumeration item in the schema `SHOULD` be annotated the value from the XML attribute `@ConceptLink` by means of an XML attribute `@dcr:datcat`^[#cm-note1 1]^ and the value of the XML attribute `@AppInfo` by means of an attribute `@cmd:label`.
    451451
    452452^[=#cm-note1 1]^The attributes `@cmd:Vocabulary`, `@cmd:ValueProperty`, `@cmd:ValueLanguage` and `@dcr:datcat` should be present in the schema, not be declared as attributes allowed in the CMD instance