Maps to a UML Attribute with the stereotype XSDmaxExclusive. The name and type of such an attribute do not make sense.
value – to Attribute initial value.
<maxExclusive fixed = boolean : false id = ID value = anySimpleType {any attributes with non-schema namespace…}> </maxExclusive> {value} must be in the value space of {base type definition}. |
The following is the definition of a user-derived datatype which limits values to integers less than or equal to 100, using maxExclusive. <simpleType name='less-than-one-hundred-and-one'› <restriction base='integer'› <maxExclusive value='101'/> </restriction> </simpleType› Note that the value space of this datatype is identical to the previous one (named 'one-hundred-or-less'). |