- From: Stefan Wachter <Stefan.Wachter@gmx.de>
- Date: Sat, 3 Aug 2002 11:36:15 -0400 (EDT)
- To: xmlschema-dev@w3.org
Dear all, the Sun test case xsd022.xsd contains the following element declaration which seems to be incorrect. The restriction element must have a base attribute that refers to a complex type with simple content (cf. section 3.4.3: Complex Type Definition Representation OK.2). Thanks for your attention, --Stefan <xsd:element name="root"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="child1"> <xsd:complexType> <xsd:simpleContent> <xsd:restriction> <xsd:simpleType> <xsd:list itemType="abc"/> </xsd:simpleType> </xsd:restriction> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:element name="child2"> <xsd:complexType> <xsd:simpleContent> <xsd:restriction base="abcOrBoolean"/> </xsd:simpleContent> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element>
Received on Monday, 5 August 2002 05:25:42 UTC