0

Where can I find dtd, xsd or whatever, that eclipse uses to validate ant build.xml file?
EDIT:
Actually eclipse is validating build.ini for referential integrity and I am interested to know how is it doing so. Is it using schematron or there is some more elegant way to do it?

WSK
  • 5,949
  • 8
  • 49
  • 74
  • possible duplicate of [How come there is no Apache Ant xml schema definition or DTD for build scripts?](http://stackoverflow.com/questions/4417458/how-come-there-is-no-apache-ant-xml-schema-definition-or-dtd-for-build-scripts) – tom redfern Jan 26 '12 at 08:18

1 Answers1

2

There seems to be no official dtd (this link provides information why not and how to create an incomplete version). If you google for ant.dtd you will find information on this topic and also a link to an unofficial work-in-progress version.

So there must be more eclipse magic (or whatever) in validating/parsing the build.xml - I unfortunately do not know about it.

FrVaBe
  • 47,963
  • 16
  • 124
  • 157