A Content Model Question ?

Lars Marius Garshol larsga at ifi.uio.no
Sat May 16 15:38:38 BST 1998


* Patrice Bonhomme
| 
| Is the Content Model for the Element D valid in XML 1.0 ?
| 
| <!ELEMENT D (#PCDATA | ((B)+,(C)))*>

No. You must write it like this:

<!ELEMENT D (#PCDATA | B | C)*>

See section 3.2.2 of the spec, production 51.

-- 
"These are, as I began, cumbersome ways / to kill a man. Simpler, direct, 
and much more neat / is to see that he is living somewhere in the middle /
of the twentieth century, and leave him there."     -- Edwin Brock

 http://www.stud.ifi.uio.no/~larsga/      http://birk105.studby.uio.no/


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