Page 1 of 1

Transformation failed

Posted: Mon May 19, 2014 2:17 pm
by DocWriter
The ditamap is valid, but the transformation to Dita Map WebHelp failed.

C:\Program Files\Oxygen XML Author 15\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\dita\indexterms\collectIndexterms.xsl:26: Fatal Error! Failed to read input file file:///D:/EEE/xxxx/yyyy/temp/webhelp/oxygen_dita_temp/fullditatopic.list (java.nio.charset.MalformedInputException) Cause: java.nio.charset.MalformedInputException: Input length = 1

BUILD FAILED
C:\Program Files\Oxygen XML Author 15\frameworks\dita\DITA-OT\build.xml:53: The following error occurred while executing this line:
C:\Program Files\Oxygen XML Author 15\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\build_dita.xml:141: Fatal error during transformation

Is that a problem in the ditamap or is something wrong in oXygen?

Stefaan

Re: Transformation failed

Posted: Mon May 19, 2014 3:47 pm
by sorin_ristache
Hello,

It looks like an encoding problem when reading the list of DITA topic file names to be processed. What does the file fullditatopic.list from the error message contain if you open it in any UTF-8 aware text editor?

The fullditatopic.list file is a temporary file of the DITA transformation that contains a list of the file names of the processed topic files from the temp directory of the transformation. It seems an encoding error was encountered when trying to read the list of topic file names from this file.

If one of the topic file names in the fullditatopic.list file contains a non-ASCII character but it is still a valid UTF-8 file name accepted by the file system then it could be a bug in the DITA Webhelp transformation because it fails to recognize that character.


Regards,
Sorin

Re: Transformation failed

Posted: Mon May 19, 2014 6:11 pm
by DocWriter
Hello Sorin,

problem solved. I found an ë in one the filenames.

Thanks,
Stefaan