- From: Tom Moog <tmoog@sarvega.com>
- Date: Wed, 12 Jun 2002 08:44:39 -0500
- CC: xmlschema-dev@w3.org
Consider the following example which is similar to a problem I posted yesterday involving the interaction of mixed content and empty restrictions. It differs in that no simpleType is supplied for the restriction (see xml comment). Since there is no simple type for the restriction, is this (a) invalid xsdl (b) simpleContent with type anySimpleType (c) empty content despite the fact that it is simpleContent. <xs:complexType name="BaseType" mixed="true"> <xs:sequence minOccurs="0"> <xs:element name="a" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:complexType name="DerivedType" mixed="true"> <xs:simpleContent> <xs:restriction base="BaseType"> <!-- NO simple type definition --> </xs:restriction> </xs:simpleContent> </xs:complexType>
Received on Wednesday, 12 June 2002 09:45:40 UTC