W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2004

mixed attribute on complexType/complexContent

From: Michael Kay <mike@saxonica.com>
Date: Sat, 11 Dec 2004 23:38:36 -0000
To: <xmlschema-dev@w3.org>
Message-Id: <E1CdGoz-0002KE-00@ukmail1.eechost.net>

In 3.4.2 teh mapping table for complex content shows:

{content type}	
1 [Definition:]  Let the effective mixed be the appropriate case among the
1.1 If the mixed [attribute] is present on <complexContent>, then its
.actual value.;
1.2 If the mixed [attribute] is present on <complexType>, then its .actual
1.3 otherwise false.

In 3.4.3, Constraints on XML Representations of Complex Type Definitions,
there doesn't seem to be a rule prohibiting <complexType mixed="true"> with
<complexType mixed="false">, or vice versa.

Does this mean that if the mixed attribute is present on complexContent, the
value of the mixed attribute on complexType is ignored, and no error occurs
if they are inconsistent?

Michael Kay
Received on Saturday, 11 December 2004 23:38:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:07 UTC