I am trying to use xmltask for ant to modify a file in a subdirectory:
project/path/to/file.xml
The file refers to the DTD as follows:
<!DOCTYPE data SYSTEM "mydtd.dtd">
I do not have the flexibility to modify these documents.
This DTD is stored in the same subdirectory, which always worked fine:
project/path/to/mydtd.dtd
Unfortunately, xmltask is trying to find dtd in my top-level directory of the project, where my build file is located, and where I run from:
[xmltask] java.io.FileNotFoundException: /home/me/project/mydtd.dtd (the system cannot find the specified file)
xmltask, xmlcatalog, , . dtd, , ; publicId, XML, . , , , , DTD , ?
xmltask DTD ? ?