- From: Costello, Roger L. <costello@mitre.org>
- Date: Sat, 22 Dec 2012 16:38:03 +0000
- To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Hi Folks,
This is a complexType with mixed content:
<xs:complexType name="C1" mixed="true">
<xs:complexContent>
...
</xs:complexContent>
</xs:complexType>
This is also a complexType with mixed content:
<xs:complexType name="C1">
<xs:complexContent mixed="true">
...
</xs:complexContent>
</xs:complexType>
The two are exactly equivalent in terms of what they validate.
The first has mixed="true" on the complexType element.
The second has mixed="true" on the complexContent element.
Would you give me a practical example which illustrates why the second one would be preferred over the first one please?
/Roger
Received on Saturday, 22 December 2012 16:38:31 UTC