Here is how my hibernate.cfg.xml looks like
--------------------------------------------------
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
..............
</session-factory>
<hibernate-configuration>
And here is the error eclipse reports to me:
--------------------------------------------------
Referenced file contains errors (
http://hibernate.sourceforge.net/hibern ... on-3.0.dtd)
For more information, right click on the message and select "Show Details"
And here is what i get after "Show Details"
------------------------------------------------
The errors below were detected when validating the file "hibernate-configuration-3.0.dtd" via the file "hibernate.cfg.xml".
In most cases these errors can be detected by validating "hibernate-configuration-3.0.dtd" directly.
However it is possible that errors will only occur when hibernate-configuration-3.0.dtd is validated in the context of hibernate.cfg.xml.
The markup declarations contained or pointed to by the documet type declaration must be well formed
------------------------------------------------
Despite the error, my application works fine. This is one of the first times I use Hibernate. If you have any suggestions please let me know.
Wating for your answer I thank you in advance everyone.