posted 20 years ago
I use SAX to parse a xml file with reference to an external dtd. It always shows the following error message:
"doctype not allowed in content.org.xml.sax.SAXParseException: doctype not allowed in content".
The DOCTYPE in the xml file is defined as:
<!DOCTYPE slideshow SYSTEM "slideshow1a.dtd">
I already put the slideshow1a.dtd and slideshow.xml in the same folder. What is the problem. I can not find some detailed explanation about using the DOCTYPE. Thanks in advance.