This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Is the following recursive definition valid? <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo.com" xmlns="http://foo.com" elementFormDefault="qualified"> <xsd:simpleType name="abcOrBoolean"> <xsd:union memberTypes="xsd:boolean abc"/> <xsd:simpleType> <xsd:simpleType name="abc"> <xsd:restriction base="abcOrBoolean"> <xsd:minLength value="5"/> <xsd:restriction> <xsd:simpleType> <xsd:schema> Henry's response: "Not allowed. There is an erratum forthcoming which is intended to clarify this, but, irritatingly, it doesn't catch the above case. I expect yet another erratum will do so." See: http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0124.html
Discussed at the Feb. 7 concall. The WG agreed to classify R-189 as an error w/ erratum
Discussed at 2007-05-18 telecon. Adopted the following proposal. - Require that members of a union type can't be the union type itself *or a type derived from it*.