Requirements
DITA Open Toolkit Release 3.0 requires the Java Runtime Environment (JRE) version 8 or later.
DITA Open Toolkit 3.0.4 is a maintenance release that fixes issues
reported in DITA-OT 3.0, which adds support for Markdown, normalized DITA output, and the alternative authoring formats
proposed for Lightweight DITA. The map-first preprocessing approach provides a modern alternative to the
default preprocess operation.
DITA-OT releases follow
semantic versioning guidelines. Version numbers use the
major.minor.patch syntax, where
major versions may include incompatible API changes, minor versions add
functionality in a backwards-compatible manner and patch versions are maintenance releases
that include backwards-compatible bug fixes.
DITA Open Toolkit Release 3.0 requires the Java Runtime Environment (JRE) version 8 or later.
DITA Open Toolkit 3.0.4 is a maintenance release that includes the following bug fixes.
<!DOCTYPE> declaration in a DITAVAL
document resulted in a build failure. This is now fixed, and the referenced grammar file will be found using
the same catalog that is used to locate other grammar files.
#2005,
#2922
@copy-to attributes are evaluated. The build failure has been removed, and this
type of link will now generate normal build errors as in previous releases.
#2841,
#2936
@href and
@copy-to attributes, references to that key always resolved to the original
@href rather than to the new copy specified with @copy-to. Key references
to this type of definition will now resolve to the appropriate copy of the resource.
#2842,
#2935
<coderef> elements that contained references to line
ranges in DITA map files were not reliably included in PDF output as the preprocessing routine may change
maps. All code references are now resolved from the original files to ensure that code blocks reflect the
intended source range.
#2901,
#2916
@scale attributes on the <fig>
element were ignored for PDF output. The @scale attribute is now respected for PDF figures,
which may include text content (such as code blocks), inline images inside the text, or block images.
#2926
<linktext>. As with all other peer, external,
and non-DITA references, the <linktext> for peer topics will now be used as a
fallback title when no navigation title is available.
#2927
@format
attribute set to markdown
#2929,
#2956
@morerows attribute on an <entry>
(cell). Row headers are now properly applied when cells span additional rows.
#2942,
#2946
<fragref> elements were used to reference a syntax diagram fragment,
earlier versions of DITA-OT displayed an error. Processing has been updated to use the latest designs from
the topicpull module and fix the error.
#2945
For the complete list of changes since the previous release, see the changelog on GitHub.
DITA Open Toolkit 3.0.3 is a maintenance release that includes the following bug fixes.
@action attribute (which should
be set to one of include, exclude, flag, or
passthrough), 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<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 to yes.
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
<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
<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
<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,
#2909For the complete list of changes since the previous release, see the changelog on GitHub.
DITA Open Toolkit 3.0.2 is a maintenance release that includes the following bug fixes.
<topicref> reference to a non-DITA resource, earlier versions of
DITA-OT attempted to read and chunk the non-DITA file. This resulted in build errors and a broken reference.
The non-DITA references are no longer read or renamed when chunking.
#1550,
#2883@navtitle without a topic, earlier versions of
DITA-OT would fail with an XSLT error. If the @href attribute is not present, the
navigation title will now be used as expected. <glossentry> topics and set a title of “Related terms”, the generated links
will appear in a group titled “Related terms” (rather than the default “Related concepts”). In earlier
releases, these headings were ignored unless every column specified its own heading.<fo:page-sequence> within an
<fo:block>, which caused FO processing to fail. DITA-OT now checks the bookmap
elements at the root level to determine whether page sequences and static content should be generated. This
allows processing to complete without errors.
#2596,
#2859
@domains attribute in modules with domains-att references to facilitate
domain attribute substitution.
#2725,
#2818,
#2860
% character. The URI parser has been corrected to escape these characters correctly and
rewrite references in valid URI syntax.
#2829
@scope attribute was not explicitly set to external. The preprocess
validation filter has been revised to implicitly treat such references as external in lax processing mode
per the DITA specification and issue a warning.
#2862,
#2877
danger note labels has been changed from VORSICHT to GEFAHR to align with recommendations in ANSI
Z535.4 Annex D.
#2864,
#2871
html. The @format tracking
has been corrected to use the correct format in the job configuration instead of html.
#2867,
#2889
@schemaLocation references. Previously one module was referenced with an unversioned
identifier, causing DITA 1.3 rules to be pulled into the DITA 1.2 task schema.
#2874,
#2878
For the complete list of changes since the previous release, see the changelog on GitHub.
DITA Open Toolkit 3.0.1 is a maintenance release that includes the following bug fixes.
Unordered List bullet 5 instead
of a bullet character. Characters for levels 1 through 4 now repeat in deeply nested lists.
#2824,
#2853
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.
DITA-OT 3.0
adds support for Markdown, normalized DITA output, and the alternative authoring formats
proposed for Lightweight DITA. The map-first preprocessing approach provides a modern alternative to the
default preprocess operation.
The
Markdown implementation previously provided by the external dita-ot-markdown
plug-in has been updated to support additional edge cases and bundled into the DITA-OT 3.0 release.
#2774
Markdown topics can be added to DITA publications by setting the @format attribute to
markdown so the toolkit will recognize the source file as Markdown and convert it to
DITA:
<map>
<topicref href="markdown-dita-topic.md" format="markdown"/>
</map>
Along with Markdown input, DITA-OT now provides three new output formats to convert DITA content to Markdown,
including the original markdown syntax, markdown_github for
GitHub-Flavored Markdown, and markdown_gitbook for publishing via GitBook.
Markdown output can be generated by passing one of these keywords to the dita command with the --format option:
dita --input=userguide.ditamap --format=markdownThe new output formats can be used to feed DITA content into Markdown-based publishing systems or other workflows that lack the ability to process DITA XML.
flexmark-java parser.The new org.lwdita plug-in replaces the earlier dita-ot-markdown plug-in
and provides preview support for the MDITA and HDITA authoring formats proposed for
Lightweight DITA.
The @format attribute can be set to mdita to apply LwDITA-specific
processing to Markdown topics:
<map>
<topicref href="mdita-topic.md" format="mdita"/>
</map>
In this case, the first paragraph in the topic will be treated as a short description, for example, and additional metadata can be specified for the topic via a YAML front matter block.
The new dita transformation generates normalized topics and maps from DITA input. The
normalized output includes the results of the DITA Open Toolkit pre-processing operations, which resolve map
references, keys, content references, code references and push metadata back and forth between maps and
topics.
In comparison to the source DITA files, the normalized DITA files are modified in the following ways:
Normalized output can be used during plug-in development to troubleshoot the results of preprocessing routines, or in situations where post-processing of DITA content is required, but the downstream systems are limited in their ability to resolve DITA references. #2775
dita transformation can also be used to convert Markdown topics or the
alternative input formats supported by the org.lwdita plug-in to standard DITA XML.DITA-OT 3.0 provides a map-first preprocessing option as an alternative to
the default preprocess operation. The method, which was introduced in DITA-OT 2.5 as an
experimental feature, has been improved and is ready for use in many production scenarios. Map-first-preprocessing
provides the same functionality as the default preprocess, but takes a different
approach.
#2763
Whereas the default preprocessing routine handles both maps and topics at the same time, often switching back and forth between map operations and topic operations, the map-first approach only begins processing topics after nearly all map processing is complete. This simplifies the processing logic and creates cleaner module responsibilities, which makes it easier to process only those topics that are actually referenced after filtering, for example, or to only process the map to validate the map structure.
In addition to the highlights mentioned above, DITA Open Toolkit Release 3.0 includes the following changes.
DITA Open Toolkit Release 3.0 includes the following new features:
ant.import extension point has been added to make it easier to add new
targets to the Ant processing pipeline.
#2766
DITA Open Toolkit Release 3.0 includes the following enhancements and changes to existing features:
<div>, as required to comply with WCAG 2.0 accessibility guidelines.
#2447
url
#2755
@outputclass attribute, such as by mapping it to corresponding XSL:FO attributes.
#2770
<simpletable> accessibility to use more modern attributes
to associate table entries with header cells.
#2811,
#2448
DITA Open Toolkit Release 3.0 provides fixes for the following bugs:
mailto: syntax is now recognized as an email link and will not be read as a file
reference.
#2654
@xml:lang to the
value zh-Hans
#2742
@alt element as alternative text.
Previously the text was placed directly into the <image>, which was not valid and
ignored by later processing.
#2752,
#2814
<table> element included too many entries in
a row, FOP would crash during PDF processing. The extra entries are now ignored with an error message.
#2782
<stepsction> that contained paragraphs resulted in HTML5
<p> elements that contained <p>. The
<stepsection> now generates a <div> to ensure valid HTML5
output regardless of what it contains.
#2807
@rowheader on <colspec>. The relevant grammar file modules from
OASIS have been updated to include this errata.
#2810
DITA Open Toolkit Release 3.0 includes code contributions by the following people:
For the complete list of changes since the previous release, see the changelog on GitHub.
The documentation for DITA Open Toolkit Release 3.0 provides corrections and improvements to existing topics, along with new information:
For additional information on documentation issues resolved in DITA Open Toolkit Release 3.0, see the 3.0 milestone in the documentation repository.
DITA Open Toolkit Release 3.0 includes documentation contributions by the following people:
For the complete list of documentation changes since the previous release, see the changelog.