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

In a type dependency chain, what is the highest type in the chain called?

From: Costello, Roger L. <costello@mitre.org>
Date: Tue, 26 Apr 2011 13:24:57 -0400
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB50053922F24E@IMCMBX3.MITRE.ORG>
Hi Folks,

In the below type dependency chain BostonAreaSurfaceElevation restricts EarthSurfaceElevation which restricts Elevation which restricts xsd:integer. 

So, xsd:integer is at the top of the chain. What is that called? The start type? The head type? The beginning type? The primal type? If there is no official name, what name do you like?

/Roger

    <xsd:simpleType name="Elevation">
        <xsd:restriction base="xsd:integer">
            <xsd:minInclusive value="-999999"/>
            <xsd:maxInclusive value="999999"/>
        </xsd:restriction>
    </xsd:simpleType>

    <xsd:simpleType name="EarthSurfaceElevation">
        <xsd:restriction base="elev:Elevation">
            <xsd:minInclusive value="-1290"/>
            <xsd:maxInclusive value="29035"/>
        </xsd:restriction>
    </xsd:simpleType>
    
    <xsd:simpleType name="BostonAreaSurfaceElevation">
        <xsd:restriction base="elev:EarthSurfaceElevation">
            <xsd:minInclusive value="0"/>
            <xsd:maxInclusive value="120"/>
        </xsd:restriction>
    </xsd:simpleType>
    
Received on Tuesday, 26 April 2011 17:25:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 26 April 2011 17:25:26 GMT