- From: Shlomo Yona <S.Yona@F5.com>
- Date: Thu, 1 Nov 2007 06:05:40 -0700
- To: "Michael Kay" <mike@saxonica.com>, <xmlschema-dev@w3.org>
Thanks.
Since this is a mixed content then the textual data is not restricted at all -- can the textual content be further restricted by derivation even if it is mixed? I mean -- can it be changed to an xsd:integer? I think not, but I don't know.
Thanks.
Shlomo.
-----Original Message-----
From: Michael Kay [mailto:mike@saxonica.com]
Sent: ה 01 נובמבר 2007 14:51
To: Shlomo Yona; xmlschema-dev@w3.org
Subject: 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 13:05:56 UTC