Hello Stuart, I have problems getting a mixed content model to work as well. My model is rather straightforward. Element x refers type x. Type x is defined as mixed model, and a choice of 3 elements. One of the elements is text-only, one has a complex type and the third is empty but references an attribute group. The schema validates in several parsers, but Xml Spy, Turbo XML and XSV do not allow any text in element x. <xs:element name="x" type="xtype"/> <xs:complexType name="xtype" mixed="true"> <xs:choice> <xs:element ref="a"/> <xs:element ref="b"/> <xs:element ref="c"/> </xs:choice> </xs:complexType> <xs:element name="a" type="xs:string"/> <xs:element name="b" type="btype"> <xs:element name="c"> <xs:complexType> <xs:attributeGroup ref="attr.ref"/> </xs:complexType> </xs:element> FrancisReceived on Tuesday, 19 November 2002 03:22:40 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:13:25 GMT