migrating-to-1.6.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <!DOCTYPE html
  2. SYSTEM "about:legacy-compat">
  3. <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="copyright" content="(C) Copyright 2019"><meta name="DC.rights.owner" content="(C) Copyright 2019"><meta name="DC.type" content="reference"><meta name="description" content="In DITA-OT 1.6, various demo plug-ins were removed along with many deprecated properties, targets, templates and modes. The PDF2 transformation no longer supports the beta version of DITA from IBM, the &#34;bkinfo&#34; demo plug-in, or layout-masters.xml configuration."><meta name="DC.subject" content="deprecated features, folder, demo, processing instruction, workdir, topic pull templates, list of, &#34;bkinfo&#34; demo plug-in, layout-masters.xml, PDF2 templates, list of, XHTML templates, list of, ODT templates, list of"><meta name="keywords" content="deprecated features, folder, demo, processing instruction, workdir, topic pull templates, list of, &#34;bkinfo&#34; demo plug-in, layout-masters.xml, PDF2 templates, list of, XHTML templates, list of, ODT templates, list of"><meta name="DC.relation" scheme="URI" content="../topics/migration.html"><meta name="DC.format" content="HTML5"><meta name="DC.identifier" content="ID"><link rel="stylesheet" type="text/css" href="../css/commonltr.css"><link rel="stylesheet" type="text/css" href="../css/dita-ot-doc.css"><title>Migrating to release 1.6</title></head><body id="ID"><header role="banner"><div class="header">
  4. <p>DITA Open Toolkit</p>
  5. <hr>
  6. </div></header><nav role="toc"><ul><li><a href="../index.html">DITA Open Toolkit 3.3</a></li><li><a href="../release-notes/index.html">Release Notes</a></li><li><a href="../topics/installing-client.html">Installing DITA-OT</a></li><li><a href="../topics/alternative-input-formats.html">Authoring formats</a></li><li><a href="../topics/building-output.html">Building output</a></li><li><a href="../parameters/index.html">Setting parameters</a></li><li><a href="../topics/customizing.html">Customizing DITA-OT</a><ul><li><a href="../topics/html-customization.html">Customizing HTML</a></li><li><a href="../topics/pdf-customization.html">Customizing PDF</a></li><li><a href="../topics/custom-plugins.html">Working with plug-ins</a></li><li><a href="../extension-points/plugin-extension-points.html">Extension points</a></li><li><a href="../topics/migration.html">Migrating customizations</a><ul><li><a href="../topics/migrating-to-3.3.html">To 3.3</a></li><li><a href="../topics/migrating-to-3.2.html">To 3.2</a></li><li><a href="../topics/migrating-to-3.1.html">To 3.1</a></li><li><a href="../topics/migrating-to-3.0.html">To 3.0</a></li><li><a href="../topics/migrating-to-2.5.html">To 2.5</a></li><li><a href="../topics/migrating-to-2.4.html">To 2.4</a></li><li><a href="../topics/migrating-to-2.3.html">To 2.3</a></li><li><a href="../topics/migrating-to-2.2.html">To 2.2</a></li><li><a href="../topics/migrating-to-2.1.html">To 2.1</a></li><li><a href="../topics/migrating-to-2.0.html">To 2.0</a></li><li><a href="../topics/migrating-to-1.8.html">To 1.8</a></li><li><a href="../topics/migrating-to-1.7.html">To 1.7</a></li><li class="active"><a href="../topics/migrating-to-1.6.html">To 1.6</a></li><li><a href="../topics/migrating-to-1.5.4.html">To 1.5.4</a></li></ul></li><li><a href="../topics/globalization.html">Globalizing DITA content</a></li><li><a href="../topics/rebuilding-docs.html">Rebuilding documentation</a></li></ul></li><li><a href="../topics/troubleshooting-overview.html">Troubleshooting</a></li><li><a href="../reference/index.html">Reference</a></li><li><a href="../topics/dita-and-dita-ot-resources.html">Resources</a></li></ul></nav><main role="main"><article role="article" aria-labelledby="ariaid-title1">
  7. <h1 class="title topictitle1" id="ariaid-title1">Migrating to release 1.6</h1>
  8. <div class="body refbody"><p class="shortdesc">In DITA-OT 1.6, various <span class="ph filepath">demo</span> plug-ins were removed along with many deprecated
  9. properties, targets, templates and modes. The PDF2 transformation no longer supports the beta version of DITA from
  10. IBM, the "bkinfo" demo plug-in, or <span class="ph filepath">layout-masters.xml</span> configuration.</p>
  11. <section class="section">
  12. <p class="p">Support for the old DITAVAL format (used before OASIS added DITAVAL to the standard in 2007) has been
  13. removed.</p>
  14. <p class="p">The <span class="ph filepath">demo</span> folder has been deprecated and the following plug-ins have been moved to the
  15. <span class="ph filepath">plugins</span> folder:</p>
  16. <table class="table table-hover frame-none"><caption></caption><colgroup><col style="width:50%"><col style="width:50%"></colgroup><thead class="thead">
  17. <tr class="row">
  18. <th class="entry colsep-0 rowsep-1" id="ID__entry__1">old path</th>
  19. <th class="entry colsep-0 rowsep-1" id="ID__entry__2">new path</th>
  20. </tr>
  21. </thead><tbody class="tbody">
  22. <tr class="row">
  23. <td class="entry colsep-0 rowsep-1" headers="ID__entry__1"><span class="ph filepath">demo/dita11</span></td>
  24. <td class="entry colsep-0 rowsep-1" headers="ID__entry__2"><span class="ph filepath">plugins/org.dita.specialization.dita11</span></td>
  25. </tr>
  26. <tr class="row">
  27. <td class="entry colsep-0 rowsep-1" headers="ID__entry__1"><span class="ph filepath">demo/dita132</span></td>
  28. <td class="entry colsep-0 rowsep-1" headers="ID__entry__2"><span class="ph filepath">plugins/org.dita.specialization.dita132</span></td>
  29. </tr>
  30. <tr class="row">
  31. <td class="entry colsep-0 rowsep-1" headers="ID__entry__1"><span class="ph filepath">demo/eclipsemap</span></td>
  32. <td class="entry colsep-0 rowsep-1" headers="ID__entry__2"><span class="ph filepath">plugins/org.dita.specialization.eclipsemap</span></td>
  33. </tr>
  34. <tr class="row">
  35. <td class="entry colsep-0 rowsep-1" headers="ID__entry__1"><span class="ph filepath">demo/fo</span></td>
  36. <td class="entry colsep-0 rowsep-1" headers="ID__entry__2"><span class="ph filepath">plugins/org.dita.pdf2</span></td>
  37. </tr>
  38. <tr class="row">
  39. <td class="entry colsep-0 rowsep-1" headers="ID__entry__1"><span class="ph filepath">demo/tocjs</span></td>
  40. <td class="entry colsep-0 rowsep-1" headers="ID__entry__2"><span class="ph filepath">plugins/com.sophos.tocjs</span></td>
  41. </tr>
  42. <tr class="row">
  43. <td class="entry colsep-0 rowsep-1" headers="ID__entry__1"><span class="ph filepath">demo/h2d</span></td>
  44. <td class="entry colsep-0 rowsep-1" headers="ID__entry__2"><span class="ph filepath">plugins/h2d</span></td>
  45. </tr>
  46. <tr class="row">
  47. <td class="entry colsep-0 rowsep-1" headers="ID__entry__1"><span class="ph filepath">demo/legacypdf</span></td>
  48. <td class="entry colsep-0 rowsep-1" headers="ID__entry__2"><span class="ph filepath">plugins/legacypdf</span></td>
  49. </tr>
  50. </tbody></table>
  51. <p class="p">The remaining plug-ins in the demo folder have been moved to a separate repository at <a class="xref" href="https://github.com/dita-ot/ext-plugins" target="_blank">github.com/dita-ot/ext-plugins</a>.</p>
  52. </section>
  53. <section class="section">
  54. <p class="p">The deprecated property <code class="ph codeph">dita.input.valfile</code> should be replaced with the new argument property
  55. <code class="ph codeph">args.filter</code>.</p>
  56. <p class="p">The <code class="ph codeph">dita-preprocess</code> target has been removed and dependencies should be replaced with a target
  57. sequence <code class="ph codeph">build-init, preprocess</code>.</p>
  58. <p class="p">Support for the <code class="ph codeph">args.message.file</code> argument has been removed as message configuration has
  59. become static configuration.</p>
  60. <p class="p">The <code class="ph codeph">workdir</code> processing instruction has been deprecated in favor of
  61. <code class="ph codeph">workdir-uri</code>. The only difference between the two processing instructions is that
  62. <code class="ph codeph">workdir-uri</code> contains a URI instead of a system path.</p>
  63. </section>
  64. <section class="section"><h2 class="title sectiontitle">Preprocessing</h2>
  65. <p class="p">The following deprecated templates and modes have been removed in topic pull stylesheets:</p>
  66. <ul class="ul">
  67. <li class="li">inherit</li>
  68. <li class="li">get-stuff</li>
  69. <li class="li">verify-type-attribute</li>
  70. <li class="li">classval</li>
  71. <li class="li">getshortdesc</li>
  72. <li class="li">getlinktext</li>
  73. <li class="li">blocktext</li>
  74. <li class="li">figtext</li>
  75. <li class="li">tabletext</li>
  76. <li class="li">litext</li>
  77. <li class="li">fntext</li>
  78. <li class="li">dlentrytext</li>
  79. <li class="li">firstclass</li>
  80. <li class="li">invalid-list-item</li>
  81. <li class="li">xref</li>
  82. </ul>
  83. </section>
  84. <section class="section"><h2 class="title sectiontitle">PDF2</h2>
  85. <p class="p">The following deprecated items are no longer supported in the PDF transform:</p>
  86. <ul class="ul">
  87. <li class="li">Support for the beta version of DITA, available from IBM before the OASIS standard was created in 2005.</li>
  88. <li class="li">Support for the "bkinfo" demo plug-in, used to support book metadata before OASIS created the BookMap format
  89. in 2007.</li>
  90. <li class="li">Support for <span class="ph filepath">layout-masters.xml</span> configuration. Plug-ins should use the
  91. <code class="ph codeph">createDefaultLayoutMasters</code> template instead.</li>
  92. </ul>
  93. <p class="p">The following extension-points have been added:</p>
  94. <ul class="ul">
  95. <li class="li"><code class="ph codeph">dita.conductor.pdf2.param</code> to add XSLT parameters to XSL FO transformation.</li>
  96. </ul>
  97. <p class="p">Custom PDF2 shell stylesheets need to be revised to not include separate IBM and OASIS DITA stylesheets. The
  98. <span class="ph filepath"><var class="keyword varname">*</var>_1.0.xsl</span> stylesheets have been removed and their imports must be
  99. removed from shell stylesheets.</p>
  100. <p class="p">The following template modes have been deprecated:</p>
  101. <ul class="ul">
  102. <li class="li">toc-prefix-text</li>
  103. <li class="li">toc-topic-text</li>
  104. </ul>
  105. <p class="p">The following named templates have been removed:</p>
  106. <ul class="ul">
  107. <li class="li">processTopic</li>
  108. <li class="li">createMiniToc</li>
  109. <li class="li">processTopicTitle</li>
  110. <li class="li">createTopicAttrsName</li>
  111. <li class="li">processConcept</li>
  112. <li class="li">processReference</li>
  113. <li class="li">getTitle</li>
  114. <li class="li">placeNoteContent</li>
  115. <li class="li">placeImage</li>
  116. <li class="li">processUnknowType</li>
  117. <li class="li">insertReferenceTitle</li>
  118. <li class="li">buildRelationships</li>
  119. <li class="li">processTask</li>
  120. </ul>
  121. <p class="p">The main FO generation process now relies on the merging process to rewrite duplicate IDs. The default merging
  122. process did this already in previous releases, but now also custom merging processes must fulfill the duplicate
  123. ID rewrite requirement.</p>
  124. </section>
  125. <section class="section"><h2 class="title sectiontitle">XHTML</h2>
  126. <p class="p">The following named templates have been deprecated:</p>
  127. <ul class="ul">
  128. <li class="li">make-index-ref</li>
  129. </ul>
  130. <p class="p">The following deprecated templates have been removed:</p>
  131. <ul class="ul">
  132. <li class="li">revblock-deprecated</li>
  133. <li class="li">revstyle-deprecated</li>
  134. <li class="li">start-revision-flag-deprecated</li>
  135. <li class="li">end-revision-flag-deprecated</li>
  136. <li class="li">concept-links</li>
  137. <li class="li">task-links</li>
  138. <li class="li">reference-links</li>
  139. <li class="li">relinfo-links</li>
  140. <li class="li">sort-links-by-role</li>
  141. <li class="li">create-links</li>
  142. <li class="li">add-linking-attributes</li>
  143. <li class="li">add-link-target-attribute</li>
  144. <li class="li">add-user-link-attributes</li>
  145. </ul>
  146. <p class="p">The removed templates have been replaced by other templates in earlier releases and plug-ins should be changed
  147. to use the new templates.</p>
  148. </section>
  149. <section class="section"><h2 class="title sectiontitle">ODT</h2>
  150. <p class="p">The following deprecated templates have been removed:</p>
  151. <ul class="ul">
  152. <li class="li">revblock-deprecated</li>
  153. <li class="li">revstyle-deprecated</li>
  154. <li class="li">start-revision-flag-deprecated</li>
  155. <li class="li">end-revision-flag-deprecated</li>
  156. </ul>
  157. <p class="p">The removed templates have been replaced by other templates in earlier releases and plug-ins should be changed
  158. to use the new templates.</p>
  159. </section>
  160. </div>
  161. <nav role="navigation" class="related-links"><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/migration.html" title="If you have XSL transformation overrides, plug-ins or other customizations written prior to DITA-OT 3.3, you may need to make changes to ensure your overrides work properly with the latest toolkit versions.">Migrating customizations</a></div></div></nav></article></main></body></html>