Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » XML editor DTD resolver
XML editor DTD resolver [message #43858] Mon, 13 September 2004 16:05 Go to next message
Eclipse UserFriend
Hello all,

I'm trying to edit hibernate's configuration file (hibernate.cfg.xml)
with WTP's XML editor. Here is the DOCTYPE declaration of this file:

<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
" http://hibernate.sourceforge.net/hibernate-configuration-3.0 .dtd">

XML editor is trying to retrieve the DTD file from the net. But, since
there is a proxy server in our local network it can't access the DTD file.

I edited settings in Preferences -> Internet to specify the proxy server
we're using (btw, it is Microsoft's ISA server). It didn't work.

Then, I downloaded the DTD to a local folder and added an entry in
Preferences -> Web and XML -> XML Catalog. I thought it didn't work either.

Each time there was an error marker at the line of DOCTYPE declaration
saying "the server returned: forbidden 403 you can't access the
resource...".

I was sure, it had to work for the latter case, and, removed the
contents of the hibernate config file (hibernate.cfg.xml) and re-added.
And.. it worked! :-)

So here are my questions..
* Am I doing something wrong or is it a bug?
* Where can I specify the proxy server/port along with username/password
information for XML editor? I don't want to add a *local* DTD in XML
Catalog for every XML file with a DOCTYPE declaration I'm editing.

Thanks.
Re: XML editor DTD resolver [message #44130 is a reply to message #43858] Tue, 14 September 2004 21:54 Go to previous message
Eclipse UserFriend
> So here are my questions..
> * Am I doing something wrong or is it a bug?
> * Where can I specify the proxy server/port along with username/password
> information for XML editor? I don't want to add a *local* DTD in XML
> Catalog for every XML file with a DOCTYPE declaration I'm editing.
>

Bug (2 of them).
The proxy in the internet preferences should have worked. Not sure why it
didn't but in your
case, but have heard someone mention there is sometimes a conflict with
update manager.

The second bug sounds like the task/marker/error isn't being cleaned up
properly.

BTW, which platform are you on? (be sure to report that when you report
the bugs :)
I have a vague memory that windows and linux treats the proxy settings
differently, so just
wondering if that's a variable here.
Previous Topic:Web service: Tomcat 5.0 will show up in the list of available servers
Next Topic:how to disable jsp search in IBM contribution
Goto Forum:
  


Current Time: Tue May 20 23:22:27 EDT 2025

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

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

Back to the top