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

Hi Folks,

Consider these two simpleTypes:

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

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

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"?

/Roger

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