File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Characters after markup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Characters after markup" Watch "Characters after markup" New topic

Characters after markup

jen kat

Joined: Sep 10, 2002
Posts: 2
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 >
I agree. Here's the link:
subject: Characters after markup
jQuery in Action, 3rd edition