Changes between Initial Version and Version 1 of CMDI 1.2/Cues/Display information/Summary


Ignore:
Timestamp:
03/10/14 14:21:14 (10 years ago)
Author:
teckart
Comment:

Added summary

Legend:

Unmodified
Added
Removed
Modified
  • CMDI 1.2/Cues/Display information/Summary

    v1 v1  
     1This page is a subpage of [[CMDI 1.2]]
     2
     3= Display Information in CMDI 1.2: Executive summary =
     4
     5This page provides an executive summary of the issue and proposed solution fully described in [[CMDI 1.2/Cues/Display information]].
     6
     7== Issue description ==
     8
     9CMDI profiles provide the blueprint for a logical structuring of metadata instances. They provide very little information about ''how'' the information contained in the records should be presented (with the exception of the ''displayPriority'' attribute). It would be desirable to have some unified and extensible way of providing (sets of) display cues related to but physically separate from the description of the logical structure like (conceptually) CSS and XML.
     10
     11Display aspects that might be included:
     12
     13* Grouping information
     14 * Grouping of elements within components
     15 * Merging of components on one level
     16 * Merging of components contained within one other
     17* Salient element selection - an alternative/replacement for display priorities allowing the client to select one or  elements representing the component in which they are contained for summarised display (e.g. in a tree). Logic might be more sophisticated than a single priority number.
     18* Field display mode reflecting importance
     19
     20== Description of proposed solution ==
     21
     22A '''separate namespace''' is used for display cues (http://www.clarin.eu/cmdi/cues/display/1.0). In this namespace attributes are defined (in an independent XSD) for all kinds of display and interaction cues.
     23The general component specification allows any attributes from this namespace on all components, elements and attributes. To define a 'style' for a given component or profile, an '''XSLT''' stylesheet has to be created that '''augments''' the component specification with these cue attributes with the desired values.
     24
     25The component-to-schema XSLT picks up all cues and wraps them in app info blocks in the profile XSD. When requesting a profile from the Component Registry, it can be instructed to apply a style (or maybe multiple), e.g. by getting ''/registry/profiles/clarin.eu:cr1:p_1361876010587/xsd?style=my_style'' where ''my_style'' is an identifier that gets the style from some '''style registry'''.
     26
     27[[Image(extended display info.png)]]
     28
     29Notes:
     30* The style injects the namespace definition and schema location into the component spec which allows independent versioning of styles
     31* Applications can choose which cues to support and which not, and will also likely support a specific version of the style 'language'
     32
     33The required '''infrastructure''' extensions will be developed at a later stage and is not part of the CMDI 1.2 specification.
     34
     35
     36=== Schema changes ===
     37
     38The following changes to the General Component Schema are proposed:
     39
     40New xs:anyAttribute with namespace "http://www.clarin.eu/cmdi/cues/display/1.0" for ''clarin_element_attributes'', ''clarin_component_attributes'' and ''Attribute'' (? TODO):
     41* <xs:anyAttribute namespace="http://www.clarin.eu/cmdi/cues/display/1.0" processContents="strict"/>
     42
     43=== Profile schema changes ===
     44
     45The display cue attributes are inherited on the element and attributes definitions in the schema file.
     46
     47=== Instance changes ===
     48
     49There will be no changes to CMDI instances.
     50
     51=== Impact on tools ===
     52There is no impact on tools as long as there is no agreement on details which are not part of this specification (about what kind of display information will be used/supported). If there is such an agreement the following changes would be necessary:
     53
     54
     55* Extension of the Component Registry with some kind of 'style registry' and "style editor'
     56* Extension of the Component Registry API with additional attribute ('style') to activate the augmentation of the component specification with style information
     57* Metadata editors and all CMDI viewers (like the VLO) may use this information for enhanced display (and may decide to use only a subset)
     58