Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Giving External DTD Reference

843834Nov 22 2001 — edited Nov 27 2001
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:/// protocol


Can someone please help me out. It is very urgent.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 25 2001
Added on Nov 22 2001
9 comments
201 views