Giving External DTD Reference
843834Nov 22 2001 — edited Nov 27 2001I 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:/// protocol
Can someone please help me out. It is very urgent.
Thanks.