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

RE: Must You Specify mixed="true" on extended types?

From: Michael Kay <mike@saxonica.com>
Date: Fri, 9 Sep 2005 12:31:39 +0100
To: "'Eliot Kimber'" <ekimber@innodata-isogen.com>, "'xml-schema-dev'" <xmlschema-dev@w3.org>
Message-ID: <E1EDh6i-0005Jd-Oh@lisa.w3.org>
RE: Must You Specify mixed="true" on extended types?

 
> But I wanted to make sure, because I would have expected the 
> value for 
> "mixed" to be inherited from the base type for extensions, 
> regardless of 
> what the nominal default value of the "mixed=" attribute is.

I don't think there's anything in the spec that causes the default to be
inherited from the base type. It has to be specified explicitly and it has
to be consistent. That's the XML schema style - like listing all the child
elements again when you define a type by restriction.

Michael Kay
Received on Friday, 9 September 2005 11:31:52 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.