Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: George Cristian Bina <george@----.-->
To: Michael Kay <mike@--------.--->
Date: 9/9/2005 5:52:00 PM
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
www.---.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
> 
> 
> 

From ekimber@i... Fri Sep 09 15:02:08 2005
Received


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent