Ant scripts validation errors

Oxygen general issues.
esiegel
Posts: 8
Joined: Thu May 27, 2010 2:09 pm

Ant scripts validation errors

Post by esiegel »

Hello,

When I write Ant scripts, I notice I get a lot of validation errors in oXygen, but my script runs ok.

This is probably die to version differences? I use Ant 1.7 with ant-contrib.

Do you have a suggestion how to change this and get rid of the incorrect validation errors?

Erik
Radu
Posts: 9445
Joined: Fri Jul 09, 2004 5:18 pm

Re: Ant scripts validation errors

Post by Radu »

Hi Eric,

The build file is most probably valid but Oxygen reports it as invalid.

Oxygen validates the ANT build files using the DTD from OXYGEN_INSTALL_DIR/frameworks/ant/ant.dtd.
So you could try to change the DTD to better match your scripts.

Schema or DTD-based validation of ANT build files will never be perfect so what we plan for a future version is to use ANT's libraries to check for such validation problems.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply