Re: A Content Model Question ?

Lars Marius Garshol (larsga@ifi.uio.no)
16 May 1998 15:37:15 +0200


* 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/