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

Terminology: constructed from, type definition chain, and base type

From: Costello, Roger L. <costello@mitre.org>
Date: Mon, 20 Jun 2011 12:09:45 -0400
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB500599AB3E0B@IMCMBX3.MITRE.ORG>
Hi Folks,

I want to verify that I am using terminology consistent with the XSD specification.

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>


Terminology: constructed from 

LotteryNumbers is "constructed from" OneToNinetyNine.


Terminology: type definition chain

The "type definition chain" formed by the above simpleTypes is:  LotteryNumbers --> OneToNinetyNine


Terminology: base type

The "base type" of LotteryNumbers is: 

            <xsd:simpleType>
                <xsd:list itemType="OneToNinetyNine"/>
            </xsd:simpleType>


Is that terminology correct?

/Roger
Received on Monday, 20 June 2011 16:10:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 June 2011 16:10:15 GMT