The following question is from the sample DTD exam on this site. It gives (a) and (c) as the correct answers. I don't think (c) is correct because the ] is misplaced. Am I wrong?
3. Which of the following code is valid?
a) <!DOCTYPE
test [ <!ELEMENT test (#PCDATA)>]>
b) <!DOCTYPE test [ <!ELEMENT test.dtd
(elm1|elm2|#PCDATA) >]>
c) <!DOCTYPE test [ <!ELEMENT test.dtd
(#PCDATA|elm1|elm2)* >]>
<!ELEMENT elm1 (#PCDATA)>
<!ELEMENT elm2 (#PCDATA)>
d) <!DOCTYPE test [ <!ELEMENT test test (#PCDATA)>]>
e) <!DOCTYPE test [ <!ELEMENT test "test" (#PCDATA)>]>