[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: George Cristian Bina <george@sync.ro>
Date: Fri, 09 Sep 2005 14:52:02 +0300
Message-ID: <43217762.6030604@sync.ro>
To: Michael Kay <mike@saxonica.com>
Cc: 'Eliot Kimber' <ekimber@innodata-isogen.com>, 'xml-schema-dev' <xmlschema-dev@w3.org>
Re: Must You Specify mixed="true" on extended types?

Hi Mike,

See my previous post, in this case the content type is the same as the 
one of the base type - the mixed value on the extended type is actually 
ignored and the one from the base type is used.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Michael Kay wrote:
>  
> 
>>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:46:21 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.