Thank you for this very detailed bug report. In principle, ditac itself supports UNC paths. However many Java components used to implement ditac do not support such UNC paths.
The error seems to be reported by OutputURIResolver. We, XMLmind, don't know anything about OutputURIResolver. This problem is either caused by a limitation of Saxon or by a limitation of the XML Catalog Resolver, two components that we didn't develop. Therefore there is not much we can do to solve this problem. Sorry for that. ∋mim∈ wrote: > I fell into the following problem when using ditac to create chm file. > > *INPUT*: > X:\xmldocTest\System\tools\ditac-1_2_0\bin>ditac.bat -hhc "C:\Program > Files\HTML Help Workshop\hhc.exe" > \\goaer12a\Group\Asmes_doc\xmldocTest\Projects\TEST\POMB2MML\output\chm\POMB2MML.chm > \\goaer12a\Group\Asmes_doc\xmldocTest\Projects\TEST\POMB2MML\output\dita\POMB2MML.ditamap > > *OUTPUT*: > ditac: ERROR: fatal error reported by the XSLT engine: Exception thrown > by OutputURIResolver; SystemID: file:/X:/xmldocTest/System/tools/ditac > -1_2_0/xsl/htmlhelp/htmlhelp.xsl; Line#: 46; Column#: -1 > ditac: ERROR: cannot transform > "\\goaer12a\Group\Asmes_doc\xmldocTest\Projects\TEST\POMB2MML\output\chm\POMB2MML__7422134142688787902_chm\POMB > 2MML.ditac" to > "\\goaer12a\Group\Asmes_doc\xmldocTest\Projects\TEST\POMB2MML\output\chm\POMB2MML__7422134142688787902_chm\POMB2MML.html" > using > file:/X:/xmldocTest/System/tools/ditac-1_2_0/xsl/htmlhelp/htmlhelp.xsl: > Exception thrown by OutputURIResolver > > I think this error is due to the chm file provided as UNC path (see > red). In fact, when I use the following: > *INPUT*: > X:\xmldocTest\System\tools\ditac-1_2_0\bin>ditac.bat -hhc "C:\Program > Files\HTML Help Workshop\hhc.exe" > X:\xmldocTest\Projects\TEST\POMB2MML\output\chm\POMB2MML.chm > \\goaer12a\Group\Asmes_doc\xmldocTest\Projects\TEST\POMB2MML\output\dita\POMB2MML.ditamap > > ditac does not throw any error and works fine. > > The problem does not happen when trying to get a PDF file, because ditac > correctly recognises UNC path and succeeds by defaulting to Windows > directory. In fact, using the following input: > > *INPUT*: > X:\xmldocTest\System\tools\ditac-1_2_0\bin>ditac.bat -xep "C:\Program > Files\RenderX\XEP\xep.bat" > \\goaer12a\Group\asmes_doc\xmldocTest\Projects\TEST\POMB2MML\output\pdf\POMB2MML.pdf > X:\xmldocTest\Projects\TEST\POMB2MML\output\dita\POMB2MML.ditamap > > *OUTPUT*: > ditac: ERROR: > '\\goaer12a\Group\ASMES_DOC\xmldocTest\Projects\TEST\POMB2MML\output\pdf' > ditac: ERROR: CMD.EXE was started with the above path as the current > directory. > ditac: ERROR: UNC paths are not supported. Defaulting to Windows directory. These error messages are reported by XEP and not by ditac. > and the pdf file is correctly created -- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

