Is "mixed" applied recursively?

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} ·validates· 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

Received on Tuesday, 15 March 2005 16:24:42 UTC