Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parsing error with XML DTD, help!

 
Brynn Kishbaugh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey all i was working on a DTD for an assignment and i have it down to one error it is a basic parsing error but im really unsure how to fix it.

according to the validator im using, this is the error it is giving me
error (300): general failure parsing XML document: (EOF)

heres my code, if anyone can help me figure out what i can do to change it and get rid of the error i would greatly appreciate it.

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE accounts[
<!ELEMENT client (name,address+,phone+,email*,accountTotal?)>
<!ELEMENT address (#PCDATA)>
<!ELEMENT phone (#PCDATA)>
<!ELEMENT email (#PCDATA)>
<!ELEMENT accountTotal (#PCDATA)>
<!ELEMENT name (first,last)>
<!ELEMENT first (#PCDATA)>
<!ELEMENT last (#PCDATA)>
]>


thanks so much!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic