Changes between Version 9 and Version 10 of CMDI 1.2/Specification/TransformationCCSLSchema
- Timestamp:
- 11/12/15 14:00:56 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CMDI 1.2/Specification/TransformationCCSLSchema
v9 v10 30 30 `<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. 31 31 32 {{{#!comment 33 TODO 34 - [ ] display cues (all attributes in cue namespace should be copied) 35 }}} 32 XML 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. 36 33 37 34 ==== Document structure prescribed by the schema ==== … … 61 58 `<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. 62 59 60 XML 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 63 62 {{{#!comment 64 TODO 65 - [ ] display cues (all attributes in cue namespace should be copied) 63 TODO @cmd:ValueConceptLink allowed on element IF a vocab is specified 66 64 }}} 67 65 … … 84 82 `<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. 85 83 84 XML 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 86 86 The derivation of a content model for the XML attribute declaration on basis of a CMD attribute is described below. 87 88 {{{#!comment89 TODO90 - [ ] display cues (all attributes in cue namespace should be copied)91 }}}92 87 93 88 === Content model for CMD elements and CMD attributes in the schema definition === … … 97 92 98 93 '''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 attribute s `@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. 101 96 * 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. 102 97 103 ^[=#cm-note1 1]^The attributes `@cmd:V alueConceptLink` and `@dcr:datcat` should be present in the schema, not be declared as attributes allowed in the CMD instance98 ^[=#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