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

RE: Is "mixed" applied recursively?

From: Xan Gregg <Xan.Gregg@jmp.com>
Date: Tue, 15 Mar 2005 13:36:34 -0500
Message-ID: <1F145982392D6143BCF3CC670E4C7FA0011CE957@MERC27.na.sas.com>
To: "Jochen Wiedmann" <jochen.wiedmann@gmail.com>, <xmlschema-dev@w3.org>

[children] is the XML Infoset property and is defined in the Schema spec:

  [children] An ordered list of child information items, in document 
  order. This list contains element, processing instruction, unexpanded 
  entity reference, character, and comment information items, one for 
  each element, processing instruction, reference to an unprocessed 
  external entity, data character, and comment appearing immediately 
  within the current element. If the element is empty, this list has 
  no members.
"appearing immediately within the current element" is the relevant
phrase for your question.


-----Original Message-----
From: Jochen Wiedmann


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 18:36:40 UTC

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