Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: Attribute Usage >Thread Next - RE: Is "mixed" applied recursively? Is "mixed" applied recursively?To: xmlschema-dev@--.--- Date: 3/15/2005 2:45:00 PM
Hi,
sugest, that I have a complex type like this:
<xs:element name="a">
<xs:complexType>
<xs:element name="b" type="xs:string"/>
<xs:element name="c" type="xs:int"/>
</xs:complexType>
</xs:element>
<xs:complexType mixed="true">
<xs:sequence>
<xs:element ref="a" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
The spec contains the following words:
A mixed {content type} =B7validates=B7 elements whose element
[children] (i.e. specifically ignoring other [children]
such as character information items) conform to the
supplied content model.
My question is, what the word "children" means in that case. Does it
include the elements "b" and "c"? In other words, is the "mixed"
attribute applied to the children recursively?
Regards,
Jochen
From lists@j... Tue Mar 15 17:21:51 2005
Received: from bart.w3.or | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
