What verb would you use to describe the determination of the facets and values that apply to a simpleType?
"Costello, Roger L." <[email protected]>
| Newsgroups | gmane.text.xml.schema.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Folks,
Consider this simpleType:
<simpleType name="BostonAreaSurfaceElevation">
<restriction base="EarthSurfaceElevation">
<maxInclusive value="120"/>
</restriction>
</simpleType>
It restricts this simpleType:
<simpleType name="EarthSurfaceElevation">
<restriction base="integer">
<minInclusive value="-1290"/>
<maxInclusive value="29035"/>
</restriction>
</simpleType>
Analyzing this "simpleType dependency chain" we see that BostonAreaSurfaceElevation is an integer simpleType and is constrained as follows:
- The minInclusive value is -1290
- The maxInclusive value is 120
This example is very simple. In general, a simpleType dependency chain may be long (A restricts B which restricts C which restricts B etc.) and determining the constraints on a simpleType could be quite involved.
What verb would you use to describe the determination of constraints on a simpleType?
/Roger