Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XML Catalog how
XML Catalog how [message #857110] Thu, 26 April 2012 08:54 Go to next message
John Ng is currently offline John NgFriend
Messages: 1
Registered: April 2012
Junior Member
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: //">

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: Nested exception:

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 14:17 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3842
Registered: July 2009
Senior Member

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.

Nitin Dahyabhai
Eclipse Web Tools Platform
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: Sun Sep 27 01:01:00 GMT 2020

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

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

Back to the top