Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Is "mixed" applied recursively?

From: Jochen Wiedmann <jochen.wiedmann@-----.--->
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent