W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2007

Mixed content and empty content

From: Shlomo Yona <S.Yona@F5.com>
Date: Thu, 1 Nov 2007 05:14:04 -0700
Message-ID: <AB313AF70F994447A667F4D942CA65570D09FEBF@excheight.olympus.f5net.com>
To: <xmlschema-dev@w3.org>
Hello,
 
What is the semantics of the following XSDL snippet?
 

	<xsd:element name="foo">
	    <xsd:complexType mixed="true"/>
	</xsd:element>

 
Does it mean the same as 
 

	<xsd:element name="foo">
	    <xsd:complexType/>
	</xsd:element>

 
that is, that element foo cannot have any content (be it textual or
element children)?
 
If not, is the meaning <xsd:complexType mixed="false"/> the same as
<xsd:complexType/> ?
 
Thanks.
 
Shlomo
Received on Thursday, 1 November 2007 12:14:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:01 GMT