Changes between Version 76 and Version 77 of CMDI 1.2/Specification


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

CCSL

Legend:

Unmodified
Added
Removed
Modified
  • CMDI 1.2/Specification

    v76 v77  
    360360
    361361==      Value restrictions for elements and attributes ==
    362 Apart from standard XML schema datatypes the content of a CMD element or attribute instance can be restricted by two means. The `<ValueScheme>` element `MAY` contain either an XML element `<pattern>` with the specification of a regular expression the element should comply with, or the definition of a controlled vocabulary of allowed values. CMDI 1.2 supports two approaches to describe such a vocabulary:
     362Apart from standard XML schema datatypes the content of a CMD element or attribute instance can be restricted by two means. The `<ValueScheme>` element `MAY` contain either an XML element `<pattern>` with the specification of a regular expression the element/attribute should comply with, or the definition of a controlled vocabulary of allowed values. CMDI 1.2 supports two approaches to describe such a vocabulary:
    363363* specifying all allowed values with `OPTIONAL` attributes for every value to include a concept link and a description of the specific value, or
    364364* referring to an external vocabulary via a URI specified in `@URI`. `OPTIONAL` XML attributes `@ValueProperty` and `@ValueLanguage` `MAY` be used to give more information about preferred label and language in the chosen vocabulary.
     
    371371||||||||||= Name =||= Valuetype =||= Occurrences =||= Description =||
    372372|||||||||| `<ValueScheme>` || `xs:complexType` || || Specification of the value scheme of an element or attribute. ||
    373 || |||||||| `<pattern>` || `xs:string` || 0 or 1 || Specification of a regular expression the element should comply with. ||
     373|| |||||||| `<pattern>` || `xs:string` || 0 or 1 || Specification of a regular expression the element/attribute should comply with. ||
    374374|| |||||||| `<Vocabulary>` || `xs:complexType` || 0 or 1 || Specification of a CMD vocabulary ||
    375375|| || |||||| `<Enumeration>` || `xs:complexType` || 0 or 1 || Enumeration of items from a controlled vocabulary ||