<xs:element name="NotClosed"> <xs:complexType> <xs:attribute name="State" type="State" use="required" /> <xs:attributeGroup ref="ED" /> </xs:complexType> </xs:element>