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

RE: Mixed content and empty content

From: Michael Kay <mike@saxonica.com>
Date: Thu, 1 Nov 2007 12:51:11 -0000
To: "'Shlomo Yona'" <S.Yona@F5.com>, <xmlschema-dev@w3.org>
Message-ID: <00cc01c81c85$e15e2250$6501a8c0@turtle>


	What is the semantics of the following XSDL snippet?

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

allows character data content but no element children. Pretty much the same
as anySimpleType, except that it's complex - which means you can derive a
"real" complex type from it by extension.

	Does it mean the same as 

		<xsd:element name="foo">

No, that one doesn't allow character data content.

     Is the meaning <xsd:complexType mixed="false"/> the same as
<xsd:complexType/> ?

Michael Kay
Received on Thursday, 1 November 2007 12:51:30 UTC

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