Version 8.2.2
 —  Tamino XML Schema Reference Guide  —

xs:minExclusive

Purpose

This element is a restriction facet that specifies an exclusive lower bound as a constraint of the value space for a data item.

The value of the constraint is given by the value attribute.

Parent element xs:restriction
Child elements None
Attributes fixed, value
Restrictions

The following restrictions apply for the xs:minExclusive element:

  • The xs:minExclusive element may not be specified simultaneously with the xs:minInclusive element.

  • The value specified by xs:minExclusive must be valid with respect to the value specified by any relevant xs:maxExclusive or xs:maxInclusive facet.

  • The xs:minExclusive element must be chosen in such a way that all values allowed for the restricted type also belong to the value space of the base type.

  • The following update schema constraint applies to the xs:minExclusive element:

    The value of xs:minExclusive is not permitted to become more restrictive after update schema.

Attributes
Name Type Description
fixed xs:boolean If "true", the value of this facet must not be changed in a derived type. Default: "false".
value The type of the xs:minExclusive element depends on the base of the restriction. The value attribute specifies the minimum value of the restricted type. The exact value of the value attribute is excluded from the value space.

Example

The following example shows a simple type definition based on a restriction using the xs:minExclusive element:

<xs:simpleType name="notlessthan20">
  <xs:restriction base="integer">
    <xs:minExclusive value="19"/>
  </xs:restriction>
</xs:simpleType>

The value space of the simple type "notlessthan20" is restricted to integer values greater than 19. This means 20 is the smallest allowed element in this value space.

Top of page