[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
mixed attribute on complexType/complexContent

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
following:
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
value.;
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
http://www.saxonica.com/
Received on Saturday, 11 December 2004 23:38:44 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.