Changes between Version 9 and Version 10 of CMDI 1.2/Specification/TransformationCCSLSchema


Ignore:
Timestamp:
11/12/15 14:00:56 (9 years ago)
Author:
Twan Goosen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CMDI 1.2/Specification/TransformationCCSLSchema

    v9 v10  
    3030`<Documentation>` XML elements contained in CMD Components `MAY` be transformed into documentation elements embedded in the XML element declaration. In these, the content language information contained in the `@xml:lang` XML attribute `SHOULD` be preserved.
    3131
    32 {{{#!comment
    33 TODO
    34 - [ ] display cues (all attributes in cue namespace should be copied)
    35 }}}
     32XML attributes of CMD Components in the 'cue' namespace `MAY` be copied into the XML element declaration, in which case the XML attribute name, namespace and value `SHOULD` be preserved.
    3633
    3734==== Document structure prescribed by the schema ====
     
    6158`<Documentation>` XML elements contained in CMD elements `MAY` be transformed into documentation elements embedded in the XML element declaration In these, the content language information contained in the `@xml:lang` XML attribute `SHOULD` be preserved.
    6259
     60XML attributes of CMD Elements in the 'cue' namespace `MAY` be copied into the XML element declaration, in which case the XML attribute name, namespace and value `SHOULD` be preserved.
     61
    6362{{{#!comment
    64 TODO
    65     - [ ] display cues (all attributes in cue namespace should be copied)
     63TODO @cmd:ValueConceptLink allowed on element IF a vocab is specified
    6664}}}
    6765
     
    8482`<Documentation>` XML elements contained in CMD attributes `MAY` be transformed into documentation elements embedded in the XML attribute declaration In these, the content language information contained in the `@xml:lang` XML attribute `SHOULD` be preserved.
    8583
     84XML attributes of CMD Attributes in the 'cue' namespace `MAY` be copied into the XML attribute declaration, in which case the XML attribute name, namespace and value `SHOULD` be preserved.
     85
    8686The derivation of a content model for the XML attribute declaration on basis of a CMD attribute is described below.
    87 
    88 {{{#!comment
    89 TODO
    90     - [ ] display cues (all attributes in cue namespace should be copied)
    91 }}}
    9287
    9388=== Content model for CMD elements and CMD attributes in the schema definition ===
     
    9792
    9893'''Otherwise''', if a CMD element or CMD attribute in the CCSL has a descendant XML element `<ValueScheme>` that contains an XML element `<Vocabulary>`:
    99  * The XML attributes `@ValueProperty` and `@ValueLanguage` of the XML element `<Vocabulary>` `MAY` be transformed into XML attributes in the 'ann:' namespace on the XML element declaration in the case of a CMD element or XML attribute declaration in the case of a CMD attribute.
    100  * The XML attribute `@URI` of the XML element  `<Vocabulary>`, if present, `MUST` be transformed into an attribute `@cmd:ValueConceptLink`^[#cm-note1 1]^ of the same value on the XML element or attribute declaration in the schema.
     94 * The XML attribute `@URI` of the XML element  `<Vocabulary>`, if present, `MAY` be transformed into an attribute `cmd:Vocabulary`^[#cm-note1 1]^ of the same value on the XML element or attribute declaration in the schema.
     95 * The XML attributes `@ValueProperty` and `@ValueLanguage` of the XML element `<Vocabulary>` `MAY` 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.
    10196 * 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 `MAY` 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.
    10297
    103 ^[=#cm-note1 1]^The attributes `@cmd:ValueConceptLink` and `@dcr:datcat` should be present in the schema, not be declared as attributes allowed in the CMD instance
     98^[=#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