Changes between Version 203 and Version 204 of CMDI 1.2/Specification


Ignore:
Timestamp:
06/22/16 14:52:43 (8 years ago)
Author:
Menzo Windhouwer
Comment:

Added example numbers and titles

Legend:

Unmodified
Added
Removed
Modified
  • CMDI 1.2/Specification

    v203 v204  
    244244A detailed specification of the above mentioned parts of a CMD instance is given in the next four sections.
    245245
    246 === Examples ===
     246=== Example 1 CMD instance envelope ===
    247247
    248248{{{
     
    291291|| ||`<cmd:MdCollectionDisplayName>`||`xs:string`||0 or 1||The collection to which the described resource belongs, given as a human-readable name. Exploitation tools can use this name to present metadata collections.||
    292292 
    293 === Examples ===
     293=== Example 2 Header with foreign attribute ===
    294294
    295295{{{
     
    366366
    367367
    368 === Examples ===
     368=== Example 3 Resources ===
    369369
    370370{{{
     
    396396    <cmd:ResourceRelationList/>
    397397</cmd:Resources>
    398 
     398}}}
     399
     400=== Example 4 ResourceRelation List ===
     401
     402{{{
     403#!xml
    399404<cmd:ResourceRelationList/>
    400405    <cmd:ResourceRelation>
     
    413418|| ||`<cmd:IsPartOf>` ||`xs:anyURI`||0 to unbounded||A reference to an external resource of which the described resource is a part, in the form of a PID (`RECOMMENDED`) or a URL.||
    414419
    415 === Examples ===
     420=== Example 5 IsPartOf List ===
    416421
    417422{{{
     
    447452|| || || ||`<cmdp:{CMDComponent}>*`||`xs:complexType`||As specified in the CMD profile||A chunk of information related to the described resource, forming a part of its parent CMD component and further composed of CMD Elements and other CMD Components.||
    448453
     454=== Example 5 CMD instance payload ===
     455
     456{{{
     457#!xml
     458<cmd:Components>
     459...
     460</cmd:Components>
     461}}}
     462
     463
    449464----
    450465
     
    475490|| || `<Component>` || `xs:complexType` || 1 || Definition of the component's structure. ||
    476491
    477 === Examples ===
     492=== Example 7 CCSL document ===
    478493
    479494{{{
     
    516531* A successor `SHOULD` only be present if the status of the CMD component is deprecated.
    517532
    518 === Examples ===
     533=== Example 8 CCSL Header ===
    519534
    520535{{{
     
    527542</Header>
    528543}}}
     544
     545=== Example 9 CCSL Header for deprecated profile with successor ===
    529546
    530547{{{
     
    567584* A CMD component `MUST NOT` to be a descendant of itself.
    568585
    569 === Examples ===
     586=== Example 10 CMD Component definition ===
    570587
    571588{{{
     
    613630* If the CMD element has a `<ValueScheme>` the data type defaults to `string`.
    614631
    615 === Examples ===
     632=== Example 11 CMD Element definition ===
    616633
    617634{{{
     
    625642    <Documentation>The name of the web service or set of web services.</Documentation>
    626643</Element>
    627 
     644}}}
     645
     646=== Example 12 CMD Element definition with auto value ===
     647
     648{{{
     649#!xml
    628650<Element
    629651   name="CreationDate"
     
    655677* If the CMD attribute has a `<ValueScheme>`, the data type defaults to string.
    656678
    657 === Examples ===
     679=== Example 13 CMD Attribute definition ===
    658680
    659681{{{
     
    696718* The `@URI` can also be used for an open vocabulary where the facilities of the vocabulary service can be used to find suggestions for an applicable value.
    697719
    698 === Examples ===
     720=== Example 14 Value restriction with enumeration ===
    699721
    700722{{{
     
    715737}}}
    716738
     739=== Example 15 Value restriction with pattern ===
     740
    717741{{{
    718742#!xml
     
    729753Examples of aspects for which display cues may be introduced are display order, structural transformation (e.g. folding of hierarchies), labeling and visual styling.
    730754
    731 === Examples ===
     755=== Example 16 Cue for CMD Element ===
    732756
    733757{{{
     
    743767}}}
    744768
     769=== Example 17 Cue for CMD Component ===
     770
    745771{{{#!comment
    746772TODO: Example with cues on <Component>