W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2011

What verb would you use to describe the determination of the facets and values that apply to a simpleType?

From: Costello, Roger L. <costello@mitre.org>
Date: Fri, 3 Jun 2011 12:46:27 -0400
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB50053F903EB6@IMCMBX3.MITRE.ORG>
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
Received on Friday, 3 June 2011 16:46:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 3 June 2011 16:46:58 GMT