It would be nice if someone who knows what's going on would fill the rest of us in on this. This has been going on for two weeks.
Eclipse refuses to validate any mapping file that begins with
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
which is of course the standard Doctype header for these files.
I distinctly remember that previously you could type this URL into any browser
http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd and the file would display as text.
Now, since something was done on the source forge server, no browser will allow this file to be loaded, only DOWNLOADED, or opened in some application other than a browser. I have replicated this behavior on Windows with Firefox and IE and also on Linux with Firefox and Chrome. Clearly, it is not the browser but a server configuration issue. Somehow, I think, this means that the file is not registered as the correct mime-type?