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


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

CCSL Element

Legend:

Unmodified
Added
Removed
Modified
  • CMDI 1.2/Specification

    v71 v72  
    305305
    306306||||= Name =||= Valuetype =||= Occurrences =||= Description =||
    307 |||| `<Header>` || `xs:complexType` || 1 || Descriptive information about the component ||
     307|||| `<Header>` || `xs:complexType` || || Descriptive information about the component ||
    308308|| || `<ID>` || `xs:anyURI` || 0 or 1 || ID of the component specification ||
    309309|| || `<Name>` || `xs:string` || 0 or 1 || Name of the component ||
     
    328328
    329329==      CMD element definition ==
    330 CMD elements are a template for storing atomic values constrained by a value scheme in a CMD instance. All relevant information and restrictions for such an element is contained in the CMD element definition. Most of this information is stored in XML attributes. This includes the mandatory name of the element, an optional concept link, the value schema, and information about the allowed cardinality of the element. Furthermore it can be indicated if the element may have different instance values in multiple languages, and hence an unlimited upper cardinality bound.
    331 Besides standard XML schema datatypes the value of a CMD element can be constrained by using regular expressions or vocabularies. The latter can be specified by giving the complete list of allowed values or by stating the URI of an external vocabulary (for details see ''Value restrictions for elements and attributes''). If the instance's content of the element can be derived from other values, the element ''AutoValue'' may be used to give indication about the derivation function. The CCSL does not prescribe or suggest a specific set of derivation functions.
    332 The following table contains a summary of allowed specifications for a CMD element.
    333 
    334 ||= Name =||= Valuetype =||= Description =||
    335 || `@name` || `xs:Name` || Name of the element ||
    336 || `@ConceptLink` || `xs:anyURI` || Concept link ||
    337 || `@ValueScheme` || Subset of XSD datatypes || Allowed data type if simple XML type is used ||
    338 || `@CardinalityMin` || `xs:nonNegativeInteger` or "unbounded" || Minimum number of times this element has to occur ||
    339 || `@CardinalityMax` || `xs:nonNegativeInteger` or "unbounded" || Maximum number of times this element may occur
    340 || `@Multilingual` || `xs:boolean` || Indication that the element can have values in multiple languages ||
    341 || `Documentation` || `xs:string` || Documentation about the purpose of the element ||
    342 || `AttributeList` || `xs:complexType` || Additional attributes specified by the component creator ||
    343 || `ValueScheme` || `xs:complexType` || Value restrictions based on a regular expression or a specified vocabulary ||
    344 || `AutoValue` || `xs:string` || Derivation rules for the element's content ||
     330CMD elements are a template for storing atomic values constrained by a value scheme in a CMD instance. The CCSL specification `MUST` contain the name of the element and `MAY` contain a concept link, the value schema, and information about the allowed cardinality of the element. Furthermore it `MAY` be indicated if the element may have different instance values in multiple languages, and hence an unlimited upper cardinality bound.
     331Besides standard XML schema datatypes the value of a CMD element `MAY` be constrained by using regular expressions or vocabularies. The latter can be specified by giving the complete list of allowed values or by stating the URI of an external vocabulary (for details see ''Value restrictions for elements and attributes''). If the instance's content of the element can be derived from other values, the element  `AutoValue` `MAY` be used to give indication about the derivation function. The CCSL does not prescribe or suggest a specific set of derivation functions.
     332
     333||||= Name =||= Valuetype =||= Occurrences =||= Description =||
     334|||| `<Element>` || `xs:complexType` || || Root element of every CMD element description ||
     335|| || `@name` || `xs:Name` || 1 || Name of the element ||
     336|| || `@ConceptLink` || `xs:anyURI` || 0 or 1 || Concept link ||
     337|| || `@ValueScheme` || Subset of XSD datatypes || 0 or 1 || Allowed data type if simple XML type is used ||
     338|| || `@CardinalityMin` || `xs:nonNegativeInteger` or "unbounded" || 0 or 1 || Minimum number of times this element has to occur ||
     339|| || `@CardinalityMax` || `xs:nonNegativeInteger` or "unbounded" || 0 or 1 || Maximum number of times this element may occur
     340|| || `@Multilingual` || `xs:boolean` || 0 or 1 || Indication that the element can have values in multiple languages ||
     341|| || `<Documentation>` || `xs:string` || 0 to unbounded || Documentation about the purpose of the element ||
     342|| || `<AttributeList>` || `xs:complexType` || 0 or 1 || Additional attributes specified by the component creator ||
     343|| || `<ValueScheme>` || `xs:complexType` || 0 or 1 || Value restrictions based on a regular expression or a specified vocabulary ||
     344|| || `<AutoValue>` || `xs:string` || 0 to unbounded || Derivation rules for the element's content ||
    345345
    346346==      CMD attribute definition ==