HI all,
how can I verify if my Eclipse IDE's XML catalog is working properly?
I am using hibernate with the following line in the hibernate.cfg.xml file.
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http: // www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
there is an entry with key
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
in the XML Catalog pointing to a local version of the dtd file
"jar: file: /C:/Program Files/eclipse/plugins/org.hibernate.eclipse.libs_3.4.0.v20120307-2104-H60-Beta1/lib/hibernate/hibernate3.jar!/org/hibernate/hibernate-configuration-3.0.dtd"
the project can only be run when I am connected to the internet; there is error message (below) when working offline.
Could not parse configuration: C:\...\resources\hibernate.cfg.xml
org.dom4j.DocumentException: www.hibernate.org Nested exception: www.hibernate.org
is this symptom correct? should XML Catalog provide the dtd file when there is no internet connection?
Thank you very much.