Wasn't really sure where to post this, but it's sort of a feature. When using NetBeans 6.9.1 (Mac OS X 10.5), I got errors on the Ant build scripts saying that they weren't valid build files. A little searching and I found that while there is no "official" DTD, that this works:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE project SYSTEM "http://ant.apache.org/ant.dtd">
<project>
...
</project>
Whereas, we currently have:
So, I'd like to propose a patch to all the Ant build files to include the document type at the beginning. If you'd like something more formal, like a patch file, I can do that too.
Here's my source for the information:
http://www.xmlblueprint.com/validate-ant-buildfile.htm if you are curious.
--Josh