Changes between Version 237 and Version 238 of CMDI 1.2/Specification


Ignore:
Timestamp:
10/04/16 11:58:28 (8 years ago)
Author:
Twan Goosen
Comment:

CCSL section c'td

Legend:

Unmodified
Added
Removed
Modified
  • CMDI 1.2/Specification

    v237 v238  
    805805
    806806== Cue attributes ==
    807 {'''TODO''': Convery broader potential/scope of cues, not just (visual) presentation, illustrate with use cases}
    808 CMDI profiles provide the blueprint for a logical structuring of metadata instances. However, they provide very little explicit information about how the information contained in CMDI instances should be presented. Such information can be processed by viewers, editors and catalogues alike, leading to a potentially more uniform (across applications), visually pleasing and user friendly presentation of metadata. The usage of display information `SHOULD` always be optional for applications processing CMDI instances.
    809 
    810 For this purpose, all CMD attribute, element, and component specifications `MAY` contain additional attributes in the cue namespace. These `MAY` be used to give information about how the payload contained in the respective part of the CMD instance should be presented. Cues are grouped in component specific styles. Different styles for the same CMD component `MAY` be developed. The CCSL does not prescribe or suggest a specific set of cue attributes.
     807CMDI profiles provide the blueprint for a logical structuring of metadata instances. However, they provide very little explicit information about how the information contained or to be entered in CMDI instances should be dealt with in applications that process or generate metadata documents. CMDI 1.2 therefore allows for the augmentation of components, elements and attributes in profile definitions with ‘cues for tools’ that provide suggestions for the way metadata content could be presented (e.g. by specifying certain typographical characteristics or specifying a set of elements that can be grouped together visually) or handled in some other way (e.g. enabling or disabling spell checking or using a specific input method).
     808
     809Such information, to be processed by viewers, editors and catalogues alike, has the potential of leading to a more uniform (across applications), visually pleasing and user friendly mode of working with metadata. The usage of such cues `SHOULD` always be optional for applications processing CMDI instances.
     810
     811For this purpose, all CMD attribute, element, and component specifications `MAY` contain additional attributes in the cue namespace. These MAY be used to give information about how the payload contained in the respective part of the CMD instance should be presented. Cues are grouped in component specific styles. Different styles for the same CMD component `MAY` be developed. The CCSL does not prescribe or suggest a specific set of cue attributes.
    811812
    812813Examples of aspects for which display cues may be introduced are display order, structural transformation (e.g. folding of hierarchies), labeling and visual styling.
    813814
    814 === Example 17 Cue for CMD element ===
    815 
    816 This example shows a cue for a CMD element, i.e., its display priority within its component and a label which can be used when multiple instantiations are shown together.
     815=== Example 18 Cue for CMD element ===
     816
     817This example shows a cue for a CMD element, i.e., its display priority within its component and a label which can be used when multiple instantiations are shown together. Note that this is a hypothetical cue that is not necessarily supported by any specific applications.
    817818
    818819{{{
    819820#!xml
    820821<Element
    821   name="Name"
    822   ...
    823   cue:DisplayPriority="1"
    824   cue:PluralLabel="Names"
     822   name="Name"
     823   ...
     824   cue:DisplayPriority="1"
     825   cue:PluralLabel="Names" >
     826   ...
     827</Element>
    825828>
    826 ...
    827 </Element>
    828 }}}
    829 === Example 18 Cue for CMD component ===
     829}}}
     830
     831=== Example 19 Cue for CMD component ===
     832This example shows two potential cues for CMD components: one cue specifying an ordered preference for the display value of the “Person” component, and another cue for the “Address” component to indicate that its contents should be shown at the same level as its parent’s contents. Note that these are a hypothetical cues that are not necessarily supported by any specific applications.
     833
    830834{{{#!xml
    831835<Component name="Person"
    832   cue:LabelElement="Name,Initials,Id ">
    833     <Element name="Name" CardinalityMin ="0" />
    834     <Element name="Initials" CardinalityMin ="0" />
    835     <Element name="Id" CardinalityMin ="0" />
    836     <Component name="Address" CardinalityMin ="0" CardinalityMax ="1"
    837       cue:DisplayInline="true ">
    838         <Element name="Street" />
    839         <Element name="Place" />
    840         <Element name="Country" />
    841     </Component>
    842 </Component>
     836   cue:LabelElement="Name,Initials,Id ">
     837     <Element name="Name" CardinalityMin ="0" />
     838     <Element name="Initials" CardinalityMin ="0" />
     839     <Element name="Id" CardinalityMin ="0" />
     840     <Component name="Address" CardinalityMin ="0" CardinalityMax ="1"
     841       cue:DisplayInline="true ">
     842         <Element name="Street" />
     843         <Element name="Place" />
     844         <Element name="Country" />
     845     </Component>
     846</Component> 
    843847}}}
    844848