wood burning stoves 2.0*
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Characters after markup" Watch "Characters after markup" New topic
Author

Characters after markup

jen kat
Greenhorn

Joined: Sep 10, 2002
Posts: 2
Help!
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..
Thanks!!
Jen
>> 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: http://aspose.com/file-tools
 
subject: Characters after markup
 
Similar Threads
Whether It need to be validated
passing Invalid characters within XML tags
Castor Problem Using DTD
Recreate XML file
at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.getServletMapping