Hi,
I am trying to learn JAXP API and I am facing a problem. The problem is as follows:
I have a
java program that parses an xml file using SAX packages of JAXP. This works fine.But if i include a reference to DTD I get the following error.I tried giving the relative path as well as absolute path.
Error is RuntimeExceptionCan't find resource for base name org.apache.xerces.impl.msg.XMLMessages, locale en_US.
The DTD statement in my XML is as follows
<!DOCTYPE slideshow SYSTEM "slideshow1a.dtd">
<!DOCTYPE slideshow SYSTEM "C:\Learnings\J2ee\examples\xml\samples\slideshow1a.dtd">
<!DOCTYPE slideshow SYSTEM "C:\\Learnings\\J2ee\\examples\\xml\\samples\\slideshow1a.dtd">
I am using the examples that are provided with
J2EE tutorial from sun.
Can somebody tell me where I have gone wrong.
Thanks in advance
Vinu