ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
Subject Re: DTD?
Date Thu, 12 Sep 2002 07:57:00 GMT
Rob van Oostrum wrote:
> Actually you can have a DTD define enumerations of valid values for
> attributes, which prompts the question: anybody in the mood for writing an
> Ant-aware validating XML parsers? ;-)

The reason you can't easily have a DTD for Ant, in general, is not to do 
with attribute values and more to do with the fact that the document 
itself can modify the allowable elements (i.e. taskdef can create new 

Also Ant files often duplicate nested elements names with different 
meanings which is not supported by a DTD either.


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

View raw message