• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAXP related

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic