Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Mixed content and empty content >Thread Next - Re: Mixed content and empty content RE: Mixed content and empty contentTo: "'Shlomo Yona'" <S.Yona@--.--->, <xmlschema-dev@--.---> Date: 11/1/2007 12:51:00 PM
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/
From mike@s... Thu Nov 01 12:54:25 2007
Received: from aji.w3.org | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
