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