W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2005

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>

> 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 UTC

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