- 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>
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 UTC