|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 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, JochenReceived on Tuesday, 15 March 2005 16:24:42 GMT |
Subscribe in XML format
|






