DITA Open Toolkit 2.4.6 Release Notes DITA Open Toolkit 2.4.6 is a maintenance release that fixes issues reported in DITA-OT 2.4, which includes .

Issue numbers correspond to the tracking number in the GitHub issues tracker.

Maintenance Release 2.4.6

DITA Open Toolkit Release 2.4.6 includes the following bug fixes.

  • Earlier versions of DITA-OT would fail with XSLT errors when processing invalid table markup.

    The toolkit is now more lenient when handling column settings that do not match the table contents, including:

    • table elements that contain incorrect colspec entries
    • tgroup elements with incorrect cols attribute values
    • simpletable elements with invalid relcolwidth attributes
    • sthead header rows with the wrong number of cells

    Processing will now continue in these cases, though output may not be generated entirely as expected. #2212, #2651

  • DITA-OT 2.4 failed to process maps with multiple references to a single topic file that contains key references. Processing has been revised to properly handle duplicate topics within key scopes. #2549
  • Several XSL stylesheets used incorrect extension-element-prefixes attributes, which have been replaced with exclude-result-prefixes to ensure no unnecessary namespace nodes are copied to the result tree. #2650
  • The documentation includes minor changes with corrections and improvements to existing topics.

For the complete list of changes since the previous release, see the changelog on GitHub.

Maintenance Release 2.4.5

DITA Open Toolkit Release 2.4.5 includes the following bug fixes.

  • DITA-OT 2.4 reported errors when filtering HTML5 output with a DITAVAL file and failed to preserve attributes that were set to via the action attribute. The order in which properties are initialized has been corrected and profiling conditions are now propagated to corresponding data- attributes in HTML5 output to support filtering. #2559, #2598, #2627
  • Remaining XHTML property references in the HTML5 transformation have been corrected to point to their HTML5 equivalents. #2567
  • In DITA-OT 2.4, the HTML5 transformation failed to process topics with tables when the args.html5.classattr parameter was set to . Processing has been updated to ensure that tables are handled correctly when the DITA class ancestry is not passed to output. #2570
  • The HTML5 transformation has been updated to preserve the class attribute on ordered lists when steps contain a stepsection element. #2622, #2631
  • Earlier versions of DITA-OT ignored any navref and anchor elements that were declared as direct children of referenced submaps. The map reference implementation has been updated to preserve these elements as-is when resolving nested maps. #2623
  • HTML5 processing has been corrected to respect the args.outext setting. #2628
  • The Finnish translations for attention and warning notes have been corrected to “Huomio” and “Varoitus”, respectively. #2629
  • DITA-OT 2.4.4 introduced a regression that prevented table cells from spanning multiple columns. Table processing has been corrected to produce the proper table structure. #2636
  • The documentation includes minor changes with corrections and improvements to existing topics.

For the complete list of changes since the previous release, see the changelog on GitHub.

Maintenance Release 2.4.4

DITA Open Toolkit Release 2.4.4 includes the following bug fixes.

  • DITA-OT 2.4 threw errors if non-XML DITA topics (such as Markdown files) were referenced in DITA maps. The source format information is now retained to ensure these topics are processed correctly when the DITA-OT Markdown plug-in is installed. #2564
  • In HTML5 transformations, DITA-OT 2.4 threw XSLT warnings if a topic included copyright metadata in the prolog. The redundant templates have been removed to ensure that copyright metadata is correctly processed. #2573, #2574, #2610
  • In earlier versions of DITA-OT, the HTML5 transformation generated an empty nav element for table-of-contents navigation when the nav-toc parameter was set to and the chunk attribute for a topic reference was set . Processing has been updated to produce valid navigation links with to-content chunks. #2577 #2578
  • If an index term was defined in a map, a redundant empty citation was created in the index when generating PDF output with Apache FOP. Index processing has been revised to ensure that links to index terms defined in maps work properly for FOP. #2584, #2589
  • When reading the local.properties file, the Ant basedir property is set to the root directory of the DITA-OT installation. This change ensures that the local.properties file in the installation directory can be read consistently, even in cases when custom build scripts override the basedir property beforehand. #2586
  • When generating PDF output, earlier versions of DITA-OT applied the keep-with-next.within-line attribute to list item labels, which is not valid on fo:list-item-label formatting objects. The list label attribute sets have been revised to generate valid XSL:FO output. #2602
  • Parameter processing in variable resolution has been adjusted to ensure that nested param elements are taken into account when parameters are passed as a document node. #2603
  • The command-line help and documentation for the dita command mistakenly included the equals sign in the descriptions of the and options. The correct syntax separates these options from their values with a space instead. To install a single plug-in from a local ZIP file, for example, use dita --install filename. #2605
  • The documentation includes minor changes with corrections and improvements to existing topics.

For the complete list of changes since the previous release, see the changelog on GitHub.

Maintenance Release 2.4.3

DITA Open Toolkit Release 2.4.3 includes the following bug fixes.

  • In PDF output generated with earlier versions of DITA-OT and RenderX XEP, the indexterm hierarchy for multilevel entries in the PDF index was not properly indented. Index term indentation has been corrected to properly reflect the entry hierarchy as authored in DITA source files. #1525
  • In earlier versions of DITA-OT, specifying a relative path for the temporary directory on the command line would cause PDF processing to fail. DITA-OT now checks whether the dita.temp.dir property is set to an absolute path and responds with an error message otherwise. #2038
  • In certain cases, DITA-OT 2.4 generated broken links in PDF output for related topics and reported “unresolved internal destination” warnings in the console when processing topic references with the collection-type attribute set to . Link rewrite processing has been corrected to ensure that links are generated properly. #2522
  • Default settings for several parameters have been removed from the configuration.properties file. #2555

    Values for these parameters can be passed as usual to the dita command or included in build scripts:

    • default.language
    • generate-debug-attributes
    • processing-mode

  • In previous versions of DITA-OT, the HTML5 transformation generated simpletable output with column widths specified in col elements as direct children of the table element. A colgroup wrapper element has been added for compatibility with the HTML5 standard. #2563

For the complete list of changes since the previous release, see the changelog on GitHub.

Documentation updates

The DITA-OT 2.4.3 documentation includes corrections and improvements to existing topics, along with new content on .

Maintenance Release 2.4.2

DITA Open Toolkit Release 2.4.2 includes the following bug fixes.

  • DITA-OT 2.0 threw a null pointer exception when producing Eclipse Help output from a bookmap with a glossarylist that referenced a composite dita topic. Processing has been updated to properly handle root dita elements or any other elements without class attributes. #1885
  • HTML5 output generated with DITA-OT 2.4.1 included spurious namespace attributes for taskbody and simpletable elements. The extra result prefixes (ditamsg, dita2html and related-links) have been excluded to ensure they no longer appear in output files. #2542
  • Earlier versions of DITA-OT failed to ignore empty props specialization attributes during the filtering process. Processing has been updated to treat any empty attributes specialized from props like empty default profiling attributes such as audience="", which are ignored. #2547
  • The xml-apis-ext library that FOP depends on to render SVG images was missing in DITA-OT 2.4. The distribution package has been updated to provide support for SVG images in PDF output. #2548
  • If an input map contained topic references with duplicate copy-to attribute values, earlier versions of DITA-OT failed to generate additional output topics. Processing now applies the force-unique parameter to ensure that unique output files are created for each instance of a resource when a map contains multiple references to a single topic. #2551
  • Support for the args.breadcrumbs parameter provided in earlier versions of DITA-OT was never fully implemented and has been removed. HTML customizations that rely on the XSLT BREADCRUMBS parameter will need to re-implement this functionality in custom plug-in code. #2554

For the complete list of changes since the previous release, see the changelog on GitHub.

Maintenance Release 2.4.1

DITA Open Toolkit Release 2.4.1 includes the following bug fixes.

  • In DITA-OT 2.3 and 2.4, setting the force-unique parameter to had no effect. Processing has been corrected to properly generate the copy-to attributes that ensure unique file names for each instance of a resource when a map contains multiple references to a single topic. #2520
  • HTML5: In DITA-OT 2.4, the text content of table cells was partially propagated to the CSS class attribute. Table processing has been updated to remove the legacy XHTML CSS class mode and ensure that class attribute values are generated correctly. #2524
  • Saxon 9.7.0.11 reported an error when producing output from DITA content: The context item for axis step ./@class is absent. This was resolved by modifying the $localclass variable in the output-message template to use the $ctx context variable as a parent. #2526, #2535
  • Earlier versions of DITA-OT did not correctly override the default scope and format attribute values for topic references with values from the key definition. Keyref processing has been updated to properly handle scope and format definition for non-local non-DITA targets. #2529
  • In earlier versions of DITA-OT, the dita.xsl.html5.cover extension point did not respond to overrides declared in custom plug-ins. The extension point has now been moved to the template file to ensure that it can be overridden as intended. #2537
  • In cases where a single topic is used in multiple key scopes (and copies of the topic are created), earlier versions of DITA-OT used the same target for key references to both key scopes. Key targets are now rewritten to point to the new resource to ensure that duplicate link targets in key scopes are correctly resolved. #2539

For the complete list of changes since the previous release, see the changelog on GitHub.

Documentation updates

The DITA-OT 2.4.1 documentation includes corrections and improvements to existing topics, along with new content.

  • provides examples that illustrate various approaches for customizing HTML-based output, including:
  • provides a common overview of languages supported for PDF and HTML-based output formats.
  • lists bundled software components with version and license information for each library.
Requirements
Add info on new minimum Java version or any other requirements that have changed since previous release.

DITA Open Toolkit Release 2.4 requires the Java Runtime Environment (JRE) version or later.

Release Highlights DITA-OT 2.4 includes Apache FOP , a new long-form syntax for dita command options, and additional code referencing extensions.
Apache FOP <ph keyref="tool.fop.version"/>

DITA-OT 2.4 bundles the latest version of Apache FOP (Formatting Objects Processor). #1958, #2399

FOP builds on the OpenType CFF font support added in FOP 2.0, with additional font support and enhancements for PDF accessibility, including PDF/UA (PDF/Universal Accessibility) and PDF/A-3.

For details on recent changes in FOP, see the Release Notes for versions 2.0 and 2.1.

To conserve memory, accessible PDF output is disabled by default in FOP 2.1. To generate accessible PDFs from DITA-OT, set the args.fo.userconfig parameter and include the option in your custom FOP configuration file.

For more information, see .

New long-form syntax for <cmdname>dita</cmdname> command options

All dita command options can now be specified with a GNU-style option keyword preceded by two hyphens. For example:

dita --input=userguide.ditamap --format=

DITA-OT parameters can now be passed to the dita command with this same syntax: --parameter=value.

When set with this method, properties are validated against the toolkit’s plug-in configuration. An error message appears if a property is not recognized or if an enumerated property value is invalid. #2422, #2492 Unix-style single-letter options (preceded by a single hyphen) are also available in some cases for backwards compatibility. The X-Toolkit–style single-hyphen keyword variants supported by previous releases (such as -input) have been deprecated and may be removed in an upcoming release.

Extended code reference processing

DITA-OT 2.4 provides additional support for extracting a range of lines from code references based on the content of the target file. Instead of specifying line numbers, you can now also select lines to include in the code reference by specifying keywords (or “tokens”) that appear in the referenced file. #2469

For more information, see .

Standalone <option>HTML5</option> plug-in

#2405, #2511

#1542

Resolved issues In addition to the highlights mentioned above, DITA Open Toolkit Release 2.4 includes the following changes.
Enhancements and changes

DITA Open Toolkit Release 2.4 includes the following enhancements and changes to existing features:

  • Move to Java 8 #2026
  • TM output #1245, #2404
  • Bug in "dita-utilities.xsl" getVariable when called from string context #2512, #2513
  • HTML5 generates duplicate class attributes #2503
  • Use Sass // comment syntax for partials copyrights #2502
  • Change HTML5 to use libsass instead of Compass #2499
  • Add sign-off requirement to contribution #2471
  • Add copyright based on Git history #2467
  • Run dita command with only properties file #2465, #2468
  • Map temporary files to source/result files using job configuration #2462
  • Use job mapper when transforming topics to final output #2453
  • Move chunk target detection to chunk module #2437
  • Replace named template with mode for easy override of static content #2412
  • Remove lax integration process #2151
Bugs

DITA Open Toolkit Release 2.4 provides fixes for the following bugs:

  • Fix error when linktext contains tm #2303 #2394
  • Build fails when navtitle in relcell has child elements #2347, #2390
Contributors

DITA Open Toolkit Release 2.4 includes by the following people:

NOTE: This lists contributions to the core toolkit, not docs.
  1. Jarno Elovirta
  2. Robert D. Anderson
  3. Eliot Kimber
  4. Eero Helenius
  5. Roger Sheen
  6. Radu Coravu

For the complete list of changes since the previous release, see the changelog on GitHub.

Documentation updates

The documentation for DITA Open Toolkit Release 2.4 includes corrections and improvements to existing topics, along with new content.

  • Like the generated and topics, a new section is now generated from the installed DITA-OT plug-ins to provide an overview of the extension points supported by each plug-in.
  • A new topic provides examples of how the project documentation uses various recent DITA features.
  • A new topic provides information on Migrating to release 2.4.

For additional information on documentation issues resolved in DITA Open Toolkit Release 2.4, see the 2.4 milestone in the documentation repository.

DITA Open Toolkit Release 2.4 includes by the following people:

NOTE: This lists contributions to docs, not to the core toolkit.
  1. Roger Sheen
  2. Jarno Elovirta
  3. Mark Giffin

For the complete list of documentation changes since the previous release, see the changelog.