- From: James Clark <jjc@jclark.com>
- Date: Sun, 11 Feb 2001 19:16:49 +0700
- To: XML Schema Comments <www-xml-schema-comments@w3.org>
Why does XML Schema Part 2 require me to write for example <xsd:simpleType> <xsd:list> <xsd:simpleType> <xsd:union memberTypes="xsd:NCName"> <xsd:simpleType> <xsd:restriction base="xsd:token"> <xsd:enumeration value="#default"/> </xsd:restriction> </xsd:simpleType> </xsd:union> </xsd:simpleType> </xsd:list> </xsd:simpleType> instead of simply: <xsd:list> <xsd:union memberTypes="xsd:NCName"> <xsd:restriction base="xsd:token"> <xsd:enumeration value="#default"/> </xsd:restriction> </xsd:union> </xsd:list> ? The extra simpleType elements are completely unnecessary, as far as I can see, and serve only to obfuscate the meaning of the Schema. James
Received on Sunday, 11 February 2001 08:19:41 UTC