ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis N. Antonioli <>
Subject Re: DTD?
Date Thu, 12 Sep 2002 05:23:19 GMT

On Mercredi, sep 11, 2002, at 08:40 Europe/Zurich, Stefan Bodewig wrote:

> On Tue, 10 Sep 2002, Guy McArthur <> wrote:
>> Is there a DTD for the build file syntax?
> <>
>> Just thinking it would be nifty to validate the build.xml within an
>> editor....
> But won't work, even with the DTD created by the example above.
> <javac fork="${javac.fork}" ...> is invalid as the parser will not be
> aware of Ant properties.

It won't work because it is outdated, at least it provides a basis
for further editing.

A DTD can't check the attribute's type/value, as in this example,
and it can't check that all the required attributes are present in
a valid combination, but it will at least help check the syntax,
and help editors with code completion.


Never underestimate the bandwidth of a station wagon full of magnetic
   -- Andrew S. Tanenbaum

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message