ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
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 
elements).

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

Conor


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message