You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Götz Wankelmuth <go...@gmx.de> on 2005/11/01 20:53:55 UTC

ANT DTD

Hi,

I like to validate my build.xml - Files, so I generated a file ant.dtd using
the following code:

<?xml version="1.0" encoding="UTF-8"?>

<project default="dtd">
 <target name="dtd">
  <antstructure output="ant.dtd"/>
 </target>
</project>

When I load the generated ant.dtd into my XMLSPY, I get the XMLSPY error
message
"DTD/Schema error - element 'target' already defined" 

What's going on here ??



-- 
Mit freundlichen Grüßen,
Dr. Götz Wankelmuth

---------------------------------------------
Dr. Götz Wankelmuth
Weiherstr. 4a
D-90530 Wendelstein

mailto:goetz.wankelmuth@gmx.de
tel: +49 (0)9129 45 73
mobile: +49 (0)172 13 25 180
---------------------------------------------

-- 
Mit freundlichen Grüßen,
Dr. Götz Wankelmuth

---------------------------------------------
Dr. Götz Wankelmuth
Weiherstr. 4a
D-90530 Wendelstein

mailto:goetz.wankelmuth@gmx.de
tel: +49 (0)9129 45 73
mobile: +49 (0)172 13 25 180
---------------------------------------------

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