When trying to run DITA-OT with the test suite of DITA2Go I get the following warnings and errors. I don't know though whether these are caused by the test suite or by the tool kit.
[gen-list] Processing DITATestSuite.bookmap
[gen-list] [DOTJ053W][WARN] Input file 'DITATestSuite.bookmap' is not valid DITA file name.
Please check 'DITATestSuite.bookmap' to see if it is correct. The extensions ".dita" or ".xml" are supported for DITA topics.
=>This can be amended by changing the extension to .ditamap.
[gen-list] [DOTJ045I][INFO] The key "OS" is defined more than once in the same map file. The reference href="" is
ignored.
BUILD FAILED
C:\DITA-OT1.8.M2\plugins\org.dita.base\build_preprocess.xml:24: Failed to run pipeline:
[DOTJ012F][FATAL] Failed to parse the input file 'DITATestSuite.bookmap'.
The XML parser reported the following error: : DITATestSuite.bookmap Line 238:
Attribute "toc" with value "Yes" must have a value from the list "no yes -dita-use-conref-target ".
=> This can be amended by correcting the value to lower case "yes".
After these corrections the build runs through a bit further but then fails again because some files don't seem to be copied over to the tool kit's temp directory:
dita.map.rtf:
[xslt] Processing C:\DITA-OT1.8.M2\temp\temp20131101121538984\DITATestSuite.ditamap to C:\DITA-OT1.8.M2\temp\temp20131101121538984\DITATestSuite_MERGED.xml
[xslt] Loading stylesheet C:\DITA-OT1.8.M2\plugins\org.dita.wordrtf\xsl\topicmerge.xsl
[xslt] C:\DITA-OT1.8.M2\plugins\org.dita.wordrtf\xsl\topicmerge.xsl:201: Error! java.io.FileNotFoundException: C:\DITA-OT1.8.M2\temp\temp20131101121538984\DITATestTask.dita (The system cannot find the file specified)
Cause: java.io.FileNotFoundException: C:\DITA-OT1.8.M2\temp\temp20131101121538984\DITATestTask.dita (The system cannot find the file specified)
I will test and investigate further and report back here ;-)
Frank
PS:
Running single .dita files with DITA-OT works well and has already helped me tremendously with https://github.com/nakohdo/dita-ot/commit/cc757c20bd5a8818968aed0e2b1491...! Thanks again.
OT bugs
Not real surprised; the OT is, IMHO, a piece of trash. ;-)
"[gen-list] [DOTJ053W][WARN] Input file 'DITATestSuite.bookmap' is not valid DITA file name."
Known OT bug. The spec definitely allows "bookmap".
"Attribute "toc" with value "Yes" must have a value from the list "no yes -dita-use-conref-target ".
=> This can be amended by correcting the value to lower case "yes"."
Shouldn't have to do that. An example of OT fragility.
"After these corrections the build runs through a bit further but then fails again because some files don't seem to be copied over to the tool kit's temp directory:"
No idea why, aside from the obvious "it's broken". As it happens, all files *are* below, or in the same dir as, the root map, so they shouldn't be a problem to another OT bug that has been known for years.
You might want to see what other tools, like DITAC and WebWorks, do too. Good luck. ;-)
Thanks
Thanks for the quick reply. I will have a look at those other tools.