Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Characters after markup  RSS feed

jen kat
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyon explain to me what this error message means?
"External parameter entity "%[dtd];" has characters after markup. "
Im using java 1.4.1 with a program to echo a DOM tree.. its a small simple dtd and xml doc..
>> I will paste my dtd below..
<!DOCTYPE gui [
<!ELEMENT gui (frame) >
<!ELEMENT frame (menubar, panel*) >
<!ATTLIST frame width CDATA #required
height CDATA #required >
<!ELEMENT menubar (menu*) >
<!ATTLIST menubar name CDATA #implied >
<!ELEMENT menu (menuitem*) >
<!ATTLIST menu name CDATA #required
type CDATA #implied >
<!ELEMENT menuitem (EMPTY) >
<!ATTLIST menuitem name CDATA #required
command CDATA #required >
<!ELEMENT panel (label* button* textfield* list*) >
<!ELEMENT label (#PCDATA) >
<!ATTLIST label value CDATA #required
justify CDATA #implied >
<!ELEMENT button (EMPTY) >
<!ATTLIST button label CDATA #required
command CDATA #required >
<!ELEMENT textfield (EMPTY) >
<!ATTLIST label columns CDATA #required
command CDATA #required >
<!ELEMENT list (listitem+) >
<!ELEMENT listitem (EMPTY) >
<!ATTLIST listitem value CDATA #required >
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!