Dear members,
I have realise that the generated xml output delete the DOCTYPE declaration on the xml node root definition.
My original header is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
but I get:
<?xml version="1.0" encoding="UTF-8"?>
I have tried adding the attribute: omitHeader ="false", with the same result. With such kind of Xml declaration, I have the following exception:
java.net.UnknownHostException: hibernate.sourceforge.net
but such problem I have soled creating a depends with my setproxy target:
<target name="setproxy" if="proxy.host">
<!--Proxy settings works only with a JDK 1.2 and higher.-->
<echo message="${message.setproxy}"/>
<setproxy proxyuser="${proxy.username}" proxyport="${proxy.port}"
proxypassword="${proxy.password}" proxyhost="${proxy.host}">
</setproxy>
</target>
<!--Proxy settings works only with a JDK 1.2 and higher.-->
<echo message="${message.setproxy}"/>
<setproxy proxyuser="${proxy.username}" proxyport="${proxy.port}"
proxypassword="${proxy.password}" proxyhost="${proxy.host}">
</setproxy>
</target>
Do you have any idea abut this,
Thanks,
David
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.