I think if you set these two features to false, then Xerces will not try to load the DTD.
http://apache.org/xml/features/nonvalidating/load-dtd-grammar http://apache.org/xml/features/nonvalidating/load-external-dtd Thanks, Benson. -----Original Message----- From: Varadharajan Sethuraman [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 9:10 PM To: [EMAIL PROTECTED] Subject: XML Validation Hi, XML File --------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE personnel SYSTEM "personal.dtd"> <personnel> <person id="Big.Boss"> <name><family>Boss</family> <given>Big</given></name> <email>[EMAIL PROTECTED]</email> <link subordinates="one.worker two.worker three.worker four.worker five.worker"/> </person> </personnel> I am trying to parse the above xml file using Xerces DOM Parser i had given setValidation(false); eventhough it is looking for the DTD ("personal.dtd") file. is it a bug or not? if not then what is the solution for that? Regards Varadharajan S __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]