ANY

Tim Bray tbray at textuality.com
Thu May 7 16:50:50 BST 1998


At 03:37 PM 5/7/98 +0200, Ron Bourret wrote:
>From "child elements," I assume the following:
>
>1) An element of type ANY can have zero or more children.
>2) An element of type ANY cannot contain PCDATA.  That is, it cannot have a 
>mixed content model.
>
>Is this correct?  Thanks.

No - the spec is less than explicit, but since it doesn't rule out 
text content, it is allowed.  The annotated spec at http://www.xml.com
has some further elucidation on this subject. -Tim



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list