Hello I found in the document: XML Schema Part 1: Structures (W3C Working Draft 22 September 2000) http://www.w3.org/TR/xmlschema-1 these examples: In section 4.3.2 <xs:element name="et2"> <xs:complexType content="empty"> <xs:attribute ...>. . .</xs:attribute> </xs:complexType> </xs:element> In section 4.3.4 <xs:complexType name="myelement" content="empty"> <xs:attributeGroup ref="myAttrGroup"/> </xs:complexType> content is not an attribute of ComplexType. I think this is the correction of these examples: <xs:element name="et2"> <xs:complexType> <xs:complexContent> <xs:restriction base="anyType"> <xs:attribute ...>. . . </xs:attribute> </xs:restriction> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexType name="myelement"> <xs:complexContent> <xs:restriction base="anyType"> <xs:attributeGroup ref="myAttrGroup"/> </xs:restriction> </xs:complexContent> </xs:complexType> Could someone let me know if this right? Thanks John PuninReceived on Thursday, 5 October 2000 14:07:25 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:48 GMT