• 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

Giving External DTD Reference

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using a xerces-1_2_2 parser.
I have included my External Dtd Reference in my xml file as
<!DOCTYPE Store SYSTEM "Store.dtd">
This gives me an error saying that the dtd file is not found in file:///...path of my xml file when i run it through command promt.And when i use Apache Tomacat, it closes the window (terminates the application)
But when i write
<!DOCTYPE Store SYSTEM "file:///C:/Store.dtd"> it does not throw any error but proceeds normally..
Why is this so??? All examples on the web don't mention file:/// part.

Can someone please help me out. It is very urgent.
Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic