- From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
- Date: Fri, 2 Nov 2001 07:35:16 -0400
- To: www-xml-infoset-comments@w3.org
This is a minor point, but in D1 the Infoset spec states: "The content models of elements, from ELEMENT declarations in the DTD. " However, according to XML 1.0 "content model" only properly applies to element declarations that contain only child elements. See section 3.2.1 of the 2nd edition of XML 1.0: [Definition: An element type has element content when elements of that type must contain only child elements (no character data), optionally separated by white space (characters matching the nonterminal S).][Definition: In this case, the constraint includes a content model, a simple grammar governing the allowed types of the child elements and the order in which they are allowed to appear.] It does not apply to elements that have mixed content, ANY, or EMPTY. I suspect what you meant here was "content specification". -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible, 2nd Edition (Hungry Minds, 2001) | | http://www.ibiblio.org/xml/books/bible2/ | | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ | +----------------------------------+---------------------------------+
Received on Friday, 2 November 2001 07:36:55 UTC