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!

DTD definition in XML

843834Dec 6 2002 — edited May 15 2003
DTD is valid. DTD and XML are in the same directory.
I can read from XML, when is validation off.
When is validation on, it is throwing exception...

Project path: d:/dbt
Path to xml is: /files/xml

In XML file :
<!DOCTYPE ABCD SYSTEM "dictionary.dtd">
<ABCD>
<JKL>
</JKL>
...
</ABCD>

JavaException:
org.jdom.JDOMException: Error on line 1: Relative URI "dictionary.dtd"; can not be resolved without a base URI.

Thanx.




Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 12 2003
Added on Dec 6 2002
9 comments
138 views