Maintenance Release 3.0.3
DITA Open Toolkit Release 3.0.3 includes the following bug fixes.
- In some scenarios on Windows, the version of Saxon shipped in DITA-OT 3.0 caches one copy of the toolkit module functions.xsl and then uses that copy in place of a second (different) module with the same name. This causes problems when using the ant command to run HTML5 builds. Adding an explicit path to one of the imports works around the problem. #2892
- If an XSLT message is declared to be fatal, throwing that message should halt the build. This stopped working with a refactored message process several releases ago, but was missed because the default toolkit does not declare any fatal messages for XSLT modules. #2894
- When a DITAVAL document contains a typo in the
@action
attribute (which should be set to one ofinclude
,exclude
,flag
, orpassthrough
), the build ends with a message that is difficult to diagnose. The message has been updated to be more explicit and to use the toolkit’s standard message format. #2896 - When the
<navtitle>
element is used in a map, it should be ignored by default (for the purposes of TOC titles, PDF bookmarks or generated links), except in cases where the@locktitle
attribute on the containing topic reference is set toyes
. This has always worked when using the@navtitle
attribute on topic references, but previously the<navtitle>
element in maps was used even if it was not locked. #2897 - When a DITA document contains more than one
<glossentry>
element, and keys are defined for those entries using the file name but without including the entry ID, XHTML and HTML5 builds would fail to process topics that reference the key. This error has been corrected so that terms linking to glossary entries will go to the correct file, and no error will be generated. #2900 - In PDF builds, the
<navtitle>
element inside of a topic was ignored when creating bookmarks and the table of contents. The<navtitle>
element in topics is now used for each of those cases except when a map overrides the navigation title. #2904, #2906 - When the
<choicetable>
element does not specify a table header, it should generate default values for the "Option" and "Description" fields. In PDF, the "Description" column was not generating the correct header. This has been fixed so that each column gets the proper header. #2908, #2909 - In HTML5, the default output process generates a Dublin Core metadata tag that specifies the content format as XHTML. This is left over from earlier releases when the two formats shared the same code. The format value is now correctly set to HTML5. #2912
For the complete list of changes since the previous release, see the changelog on GitHub.