In the samples the dtd is referenced directly from the web. This sometimes makes problems when either you need to use a proxy to get to the internet or you have no internet access from the PC running the installer. Il this case Ant-intaller just never shows-up...
You typically would want to place the DTD locally beside the XML and refer it from a relative URL. unfortunatly as the DTD is inside the installer it is not actually accessible.
I see 4 possible solutions for such a problem :
- just dont refer a dtd in your configuration
- extract all dtd files from the root of the installer to the local folder before reading the xml file
- configure your xml parser so that it can find and read the dtd directly from inside the installer
- don't validate against the dtd while parsing so that it is present but never read.
For now I'll workaround using the first solution...