How to validate an ANT buildfile
To validate an ANT buildfile, you must include the ANT DTD (see NOTE) in your buildfile:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE project SYSTEM "http://ant.apache.org/ant.dtd">
<project>
</project>
XMLBlueprint XML Editor will automatically support XML Completion for your ANT buildfile based on the DTD. To validate your ANT buildfile, open it in XMLBlueprint XML Editor and click XML > Validate.
TIP -- In XMLBlueprint, choose File > New > XML Document with DTD, Relax NG Schema, or XML Schema and paste
in the edit box. Press the Next > button, choose "project" as root element and then press the Finish button. XMLBlueprint will automatically create an empty buildfile with a reference to the ANT DTD.
NOTE -- There is no 'official' ANT DTD, but you can generate an ANT DTD by running this ANT project:
<project>
<antstructure output="ant.dtd"/>
</project>







