|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] when is inheritance
From: Tobias Koenig <tobias.koenig@trolltech.com>
Date: Tue, 18 Nov 2008 09:59:19 +0100 To: xmlschema-dev@w3.org Message-Id: <200811180959.19564.tobias.koenig@trolltech.com> Hej, in which case is it allowed to derive a simpleType or complexType from xs:anySimpleType? I found the following cases: <xs:simpleType name="t1"> <xs:restriction base="xs:anySimpleType" /> </xs:simpleType> <xs:complexType name="ct1"> <xs:simpleContent> <xs:extension base="xs:anySimpleType" /> </xs:simpleContent> </xs:complexType> <xs:complexType name="ct2"> <xs:simpleContent> <xs:restriction base="ct1" > </xs:restriction> </xs:simpleContent> </xs:complexType> Are they all valid? Ciao, TobiasReceived on Tuesday, 18 November 2008 08:55:08 GMT |
Subscribe in XML format
|






