Hi

James Duncan Davidson <[EMAIL PROTECTED]> writes:
> > I'm wondering if there is an Ant DTD ?
> > 
> > It could be useful for those who use an XML editor that is DTD-aware, or
> > someone like me who uses Vim and some scripts to validate their XML
> > files - but I must say it's quite hard to validate without the DTD ;)
> 
> It's impossible to define a DTD for ant. The tag names themselves have a
> meaning that can be changed at runtime either in the XML file or
> programmatically. Sure, it'd probably be possible to create a DTD for some
> static set of Ant, but with it's pluggable architecture, it won't be a
> complete one.

Yes, but it is possible to extend a DTD. I have such a DTD on my page :

  http://www.sdv.fr/pages/casa/html/ant-dtd.en.html

-- 
+---------------------------+--------------------------------+
| Michel CASABIANCA         | http://www.sdv.fr/pages/casa   |
| mailto:[EMAIL PROTECTED]        | Articles sur Java et XML       |
| D�veloppement Java et XML | Applications et Applets de Jeu |
+---------------------------+--------------------------------+

Reply via email to