Hi,
I am trying to validate the dita files using ant validate command. Some how, the validation got failed. Below are the details with error messages.
Could you guide any clue to fix the validation errors.
Thanks in advance,
Samba.
C:\dita-ot-2.4.6\Fusion2Dita>ant validate
-Dargs.input.dir="C:\dita-ot-2.4.6\Fusion2Dita\Ditas_Output"
-Dlogfile="C:\dita-ot-2.4.6\Fusion2Dita\logs\validation.log"
Unable to locate tools.jar. Expected to find it in
C:\Program Files (x86)\Java\jre1.8.0_211\lib\tools.jar
Buildfile: C:\dita-ot-2.4.6\Fusion2Dita\build.xml
validate:
[echo] Validating all xmls in directory
"C:\dita-ot-2.4.6\Fusion2Dita\Ditas_Output"
BUILD FAILED
C:\dita-ot-2.4.6\Fusion2Dita\build.xml:503: Could not
validate document
C:\dita-ot-2.4.6\Fusion2Dita\Ditas_Output\Explained_20030741c.dita
Total time: 0 seconds
Please find the attached log file.
Caused by: java.io.FileNotFoundException:
C:\dita-ot-2.4.6\Fusion2Dita\Ditas_Output\topic.dtd (The system
cannot find the file specified)
I tried to copy topic.dtd from somewhere in plug-in folder structure, but it't giving different error message as below,
Caused by: java.io.FileNotFoundException:
C:\dita-ot-2.4.6\base\dtd\highlightDomain.ent (The system cannot
find the path specified)