W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2005

Is "mixed" applied recursively?

From: Jochen Wiedmann <jochen.wiedmann@gmail.com>
Date: Tue, 15 Mar 2005 13:45:23 +0100
Message-ID: <4236D8E3.5020303@gmail.com>
To: xmlschema-dev@w3.org


sugest, that I have a complex type like this:

     <xs:element name="a">
             <xs:element name="b" type="xs:string"/>
             <xs:element name="c" type="xs:int"/>

     <xs:complexType mixed="true">
             <xs:element ref="a" maxOccurs="unbounded"/>

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?


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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:07 UTC