I am having trouble with the XML editor trying to validate my ant build.xml
The problem is, that my build.xml file is generic to all our projects. We then add project specific tasks to the build.xml by including a custom_build.xml as an entity declaration in the DTD.
The problem is that including the DOCTYPE declaration makes the XML editor perform validation checking, which then returns errors.
I don’t wan’t all the different projects having different build.xml files, so how can I prevent these errors?
Thanks
Sharon
PS:The
build.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project [
<!ENTITY custom_targets SYSTEM "custom_build.xml">
]>
<project basedir="." default="HELP" name="PortalCMA">
&custom_targets
.....
</project>
custom_build.xml
<target....>
......
</target>
<target....>
.....
</target>