Maintenance Release 2.2.5
DITA Open Toolkit Release 2.2.5 includes the following bug fixes.
- In earlier toolkit versions, the Word RTF transformation produced invalid RTF output when source files contained tables with absolute column widths. Processing has been modified to treat all widths as proportional, including units given in inches, centimeters, millimeters, or points. Absolute units are not respected, but the toolkit now generates valid RTF output rather than crashing. #1190, #2333
- References to empty ditamap files threw the DOTX031E error message during the mapref processing stage. The toolkit no longer checks for subelements in the map and will now continue processing as long as a root node is available. #1549, #2336
- Several error messages generated during index processing for PDF output have been clarified to better explain the cause of the error and provide more helpful information on how to resolve the issue. #1709, #2327
- Links to
<dlentry>
elements were broken in PDFs generated via Apache FOP, as FOP does not support the@id
attribute on table rows. To work around this issue, DITA-OT now moves the ID from the<dlentry>
to an<fo:inline>
element in the first term when rendering PDF output via FOP. #1764, #2198 - The DITA-OT 2.0 HTML5 transformation declared several XSL extension points that were not fully
implemented:
dita.xsl.html5
dita.xsl.html5.toc
dita.xsl.html5.cover
<dita:extension>
elements to add custom XSLT processing to the HTML5 transformation. #1876, #2313, #2342 - The OASIS catalogs for DITA 1.3 pointed to a series of non-existent resources. The catalog files have been updated to remove spurious file references and errata have been submitted to OASIS for inclusion in the original source catalogs. #2266, #2320
- Performance of previous toolkit versions suffered substantially if a single warehouse topic was used to store a large number of blocks for reference instead of multiple smaller warehouse topics with the same total number of blocks. An expensive XPath expression in the content reference processing phase was replaced with an optimized expression that dramatically reduces publication time in cases with thousands of following siblings. #2307, #2309
- In JavaHelp output, the copy-css task was called too early, before the
user.csspath parameter was evaluated, so CSS files were copied to a folder named
${user.csspath}
rather than to the intended location. JavaHelp processing has been corrected to avoid the duplicate dependency on the copy-css task and ensure that CSS files are handled correctly. #2311 - Two unimplemented parameter extension points were removed from the HTML5 plug-in:
dita.conductor.html5.param
dita.conductor.html5.toc.param
- Content reference range processing has been modified to use before
<<
and after>>
expressions rather than following-sibling and check that the conref end target actually exists. #2315 - When a
<topicsetref>
element is used to refer to a<topicset>
, previous toolkit versions threw DOTX019W errors, suggesting that every reference in the original<topicset>
also specified@type
="topicset"
. Map reference processing has been modified to drop the@type
attribute as part of the resolution. This prevents such unintended side effects by ensuring that the type no longer cascades further down the resolved branch. #2321, #2338 - Support for flagging in HTML output has been imported (rather than included) and moved before the extension point to allow custom plug-ins to override flagging behavior. #2329
For the complete list of changes since the previous release, see the changelog on GitHub.