Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » XML Catalog how
XML Catalog how [message #857110] Thu, 26 April 2012 04:54 Go to next message
Eclipse UserFriend
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.
Re: XML Catalog how [message #857422 is a reply to message #857110] Thu, 26 April 2012 10:17 Go to previous message
Eclipse UserFriend
The simplest thing to test the XML Catalog itself would be to try another URI that's in the catalog already. Otherwise it could just as easily be the org.hibernate.eclipse.libs plug-in that's the problem.
Previous Topic:Trying to grok Java Build Path v.s. Project References v.s. Deployment Assembly
Next Topic:Deploying a webservice to Tomcat Xampp
Goto Forum:
  


Current Time: Mon Jul 07 14:16:09 EDT 2025

Powered by FUDForum. Page generated in 0.65768 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top