See http://www.w3.org/XML/2001/05/xmlschema-test-collection/result-ms-modelGroups.htm The expected result for the following schema document should be invalid because minOccurs is not specified and it assumes the default value 1 which is greater than "maxOccurs". <?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="doc" type="foo"/> <xsd:complexType name="foo"> <xsd:complexContent> <xsd:restriction base="xsd:anyType"> <xsd:all> <xsd:element name="e1" maxOccurs="0"/> </xsd:all> </xsd:restriction> </xsd:complexContent> </xsd:complexType> </xsd:schema> -StanleyReceived on Wednesday, 20 March 2002 17:06:06 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:40 GMT