[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
RE: Mixed content and empty content

 

	What is the semantics of the following XSDL snippet?
	 

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

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">
		    <xsd:complexType/>
		</xsd:element>

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

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

Michael Kay
http://www.saxonica.com/
Received on Thursday, 1 November 2007 12:51:30 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.