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

What is the correct terminology for a chain of base simpleTypes versus a chain of constructed-from simpleTypes?

From: Costello, Roger L. <costello@mitre.org>
Date: Tue, 21 Jun 2011 08:31:02 -0400
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB500599AB40FB@IMCMBX3.MITRE.ORG>
Hi Folks,

Consider these two simpleTypes:

    <xsd:simpleType name="LotteryNumbers">
                <xsd:list itemType="OneToNinetyNine"/>
            <xsd:length value="6"/>

    <xsd:simpleType name="OneToNinetyNine">
        <xsd:restriction base="xsd:positiveInteger">
            <xsd:maxInclusive value="99"/>

The chain of base types is:

LotteryNumbers --> the anonymous list simpleType --> OneToNintyNine

The chain of constructed from types is:

LotteryNumbers --> OneToNintyNine

What is the correct terminology for the two chains?

Is the second one is called the "type definition chain" or the "constructed type definition chain"?

Is the first one called the "base type definition chain"?

Received on Tuesday, 21 June 2011 12:31:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:59 UTC