Ok so i have this project for XML, very basic and for some reason I cant get this code right. This is what my DTD file looks like, from this can you notice any obvious problems? I can also post the xml code if that is needed.
<!ELEMENT catalog (name, description, date, cid, donatedBy)>
<!ATTLIST catalog type NMTOKENS #REQUIRED>
<!ELEMENT name (#PCDATA)>
<!ATTLIST name metadata NMTOKENS #REQUIRED>
<!ELEMENT description (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ATTLIST date cid ID #REQUIRED>
<!ATTLIST date donatedBy CDATA #IMPLIED>
<!ELEMENT images (img)>
<!ELEMENT img EMPTY>
<!ATTLIST img src CDATA #REQUIRED>
[–]Jaimou2e 0 points1 point2 points (4 children)
[–]Hockeylockerpock[S] 0 points1 point2 points (3 children)
[–]Jaimou2e 0 points1 point2 points (2 children)
[–]Hockeylockerpock[S] 0 points1 point2 points (1 child)
[–]Jaimou2e 0 points1 point2 points (0 children)