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

"Costello, Roger L." <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.