Changes between Version 70 and Version 71 of CMDI 1.2/Specification


Ignore:
Timestamp:
11/23/15 14:51:06 (8 years ago)
Author:
teckart@informatik.uni-leipzig.de
Comment:

CCSL

Legend:

Unmodified
Added
Removed
Modified
  • CMDI 1.2/Specification

    v70 v71  
    286286}}}
    287287The CMDI Component Specification Language (CCSL) is used to describe a CMD component or CMD profile. Hence, a CCSL document provides the structure of an aspect of a resource or (in the case of a profile specification) the complete structure of the instance's payload. It is also basis for the generation of the XML schema file that is used to validate a CMD instance (see section ''Transformation of CCSL into a schema'' for details).
    288 A CCSL document consists of two sections, the CCSL header and the actual CMD component description. Its root element must contain an XML attribute ''isProfile'' to indicate if the document specifies a CMD profile or a CMD component. Figure XY show the relation of the individual elements of the CCSL.
     288
     289A CCSL document `MUST` contain a CCSL header and the actual CMD component description. Its root element `MUST` contain an XML attribute ''isProfile'' to indicate if the document specifies a CMD profile or a CMD component. Figure XY show the relation of the individual elements of the CCSL.
    289290
    290291{{{#!comment
     
    292293}}}
    293294
     295||||= Name =||= Valuetype =||= Occurrences =||= Description =||
     296|||| `<ComponentSpec>` || `xs:complexType` || 1 || Root element ||
     297|| || `<Header>` || `xs:complexType` || 1 || Header of the component specification ||
     298|| || `<Component>` || `xs:complexType` || 1 || Definition of the component's structure ||
     299|| || `@isProfile` || `xs:boolean` || 1 || Indication about the component's status as a profile ||
     300
     301
     302
    294303==      CCSL header ==
    295 The CCSL header provides information relevant to identify and describe the component. This part includes a persistent identifier, the name, and a description of the component. The header also supports information about the status of the specification. These include a mandatory element indicating the component's status in its lifecycle (using the three lifecycles ''development'', ''production'', or ''deprecated'') and an optional element ''statusComment'' to contain information about the reason for the current status. In the case of a deprecated specification that was succeeded by a new specification, the identifier of the direct successor should be stored in the element ''Successor''.
    296 The following table contains a summary of allowed specifications for the component header.
    297 
    298 ||= Name =||= Valuetype =||= Occurrences =||= Description =||
    299 || `ID` || `xs:anyURI` || 0 or 1 || ID of the component specification ||
    300 || `Name` || `xs:string` || 0 or 1 || Name of the component ||
    301 || `Description` || `xs:string` || 0 or 1 || Description of the component ||
    302 || `Status` || `xs:string` ("development", "production", "deprecated") || 1 || Status in lifecycle ||
    303 || `StatusComment` || `xs:string` || 0 or 1 || Comment about the status ||
    304 || `Successor` || `xs:anyURI` || 0 or 1 || ID of successor component, if available ||
     304The CCSL header provides information relevant to identify and describe the component. This part includes a persistent identifier, the name, the description of the component and information about the status of the specification. The status information include a mandatory element indicating the component's status in its lifecycle (using the three lifecycles ''development'', ''production'', or ''deprecated'') and an optional element ''statusComment'' to contain information about the reason for the current status. In the case of a deprecated specification that was succeeded by a new specification, the identifier of the direct successor `MAY` be stored in the element ''Successor''.
     305
     306||||= Name =||= Valuetype =||= Occurrences =||= Description =||
     307|||| `<Header>` || `xs:complexType` || 1 || Descriptive information about the component ||
     308|| || `<ID>` || `xs:anyURI` || 0 or 1 || ID of the component specification ||
     309|| || `<Name>` || `xs:string` || 0 or 1 || Name of the component ||
     310|| || `<Description>` || `xs:string` || 0 or 1 || Description of the component ||
     311|| || `<Status>` || `xs:string` ("development", "production", "deprecated") || 1 || Status in lifecycle ||
     312|| || `<StatusComment>` || `xs:string` || 0 or 1 || Comment about the status ||
     313|| || `<Successor>` || `xs:anyURI` || 0 or 1 || ID of successor component, if available ||
    305314
    306315==      CMD Component definition ==