I found it!  width="3n" instead of "3in"
 
Thank goodness it didn't take that long to find.
And I would have never found it if you hadn't explained that error to me.
Thank you so much!!
 
Julie

>>> Hussein Shafie <[email protected]> 3/9/2012 3:27 PM >>>
On 03/09/2012 11:34 PM, Julie McHam wrote:
> Hi. What does exit code 5 mean?
> Is it documented anywhere?

No, because end users are not supposed to interpret exit codes.



> I cannot figure out what is wrong with my DITA files, which suddenly
> stopped processing due to this error.
> Thank you.
> cannot transform
> "S:\ITS\dita_eur\output\XMLMindDOCX\eur_user_guide_030912.ditac" to
> "S:\ITS\dita_eur\output\XMLMindDOCX\eur_user_guide_030912.fo" using
> file:/C:/Program%20Files%20(x86)/XMLmind_XSL_Utility/addon/config/dita/xsl/fo/its_custom_fo.xsl:
> Processing terminated by xsl:message at line 129 in foUtil.xsl
> java.lang.RuntimeException: Conversion "ITSditaToDocx" has failed with
> exit code 5.
>

--> The XSLT stylesheet involved in your conversion has invoked

<xsl:message terminate="yes" select="ERROR MESSAGE HERE"/>

Unfortunately, XMLmind XSL Utility has no way to capture this message in
order to display it in its console. Therefore, there is no way for you
to see this error message.

Note that if you had used ditac, the command-line utility, you would
have seen this message in the Command Prompt (AKA DOS Window).




--> In foUtil.xsl, at line 129, you'll find:

<xsl:message terminate="yes"
   select="concat('&quot;', $length, '&quot;, invalid length')" />

That is, the error message is something like:

"XXX", invalid length

This could be an incorrect image width or height (just a guess). That is,

* a negative or null number

OR

* a positive number, but followed by a unit other than 'pc', 'pt', 'px',
'in', 'cm', 'mm' or 'em'.

All in all, there is probably a minor error in your DITA source.

 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to