mappy wrote:
i'm running into a problem where the following lines in the hibernate-mapping file
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.0//EN" "http://hibernate.sourceforge.net/hbernate-mapping-3.0.dtd" >
causes xml validation code to connect to hibernate.sourceforge.net.
So, whenever hibernate.sourceforge.net is slugish or I have no internet connection on my machine, connect would fail. Is there a way to use local dtd to validate the xml or turn off the validation altogether?
You might try and fix this line first.
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
2.0//EN" "http://hibernate.sourceforge.net/hbernate-mapping-
3.0.dtd" >