migrating-to-1.6.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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 2018"><meta name="DC.rights.owner" content="(C) Copyright 2018"><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.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.0</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/extending-the-ot.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/globalization.html">Globalizing DITA content</a></li><li><a href="../topics/custom-plugins.html">Custom 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.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/rebuilding-the-dita-ot-documentation.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="simpletable"><colgroup><col style="width:50%"><col style="width:50%"></colgroup><thead><tr class="sthead">
  17. <th class="stentry" scope="col">old path</th>
  18. <th class="stentry" scope="col">new path</th>
  19. </tr></thead><tbody><tr class="strow">
  20. <td class="stentry"><span class="ph filepath">demo/dita11</span></td>
  21. <td class="stentry"><span class="ph filepath">plugins/org.dita.specialization.dita11</span></td>
  22. </tr><tr class="strow">
  23. <td class="stentry"><span class="ph filepath">demo/dita132</span></td>
  24. <td class="stentry"><span class="ph filepath">plugins/org.dita.specialization.dita132</span></td>
  25. </tr><tr class="strow">
  26. <td class="stentry"><span class="ph filepath">demo/eclipsemap</span></td>
  27. <td class="stentry"><span class="ph filepath">plugins/org.dita.specialization.eclipsemap</span></td>
  28. </tr><tr class="strow">
  29. <td class="stentry"><span class="ph filepath">demo/fo</span></td>
  30. <td class="stentry"><span class="ph filepath">plugins/org.dita.pdf2</span></td>
  31. </tr><tr class="strow">
  32. <td class="stentry"><span class="ph filepath">demo/tocjs</span></td>
  33. <td class="stentry"><span class="ph filepath">plugins/com.sophos.tocjs</span></td>
  34. </tr><tr class="strow">
  35. <td class="stentry"><span class="ph filepath">demo/h2d</span></td>
  36. <td class="stentry"><span class="ph filepath">plugins/h2d</span></td>
  37. </tr><tr class="strow">
  38. <td class="stentry"><span class="ph filepath">demo/legacypdf</span></td>
  39. <td class="stentry"><span class="ph filepath">plugins/legacypdf</span></td>
  40. </tr></tbody></table>
  41. <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>
  42. </section>
  43. <section class="section">
  44. <p class="p">The deprecated property <code class="ph codeph">dita.input.valfile</code> should be replaced with the new argument property
  45. <code class="ph codeph">args.filter</code>.</p>
  46. <p class="p">The <code class="ph codeph">dita-preprocess</code> target has been removed and dependencies should be replaced with a target
  47. sequence <code class="ph codeph">build-init, preprocess</code>.</p>
  48. <p class="p">Support for the <code class="ph codeph">args.message.file</code> argument has been removed as message configuration has
  49. become static configuration.</p>
  50. <p class="p">The <code class="ph codeph">workdir</code> processing instruction has been deprecated in favor of
  51. <code class="ph codeph">workdir-uri</code>. The only difference between the two processing instructions is that
  52. <code class="ph codeph">workdir-uri</code> contains a URI instead of a system path.</p>
  53. </section>
  54. <section class="section"><h2 class="title sectiontitle">Preprocessing</h2>
  55. <p class="p">The following deprecated templates and modes have been removed in topic pull stylesheets:</p>
  56. <ul class="ul">
  57. <li class="li">inherit</li>
  58. <li class="li">get-stuff</li>
  59. <li class="li">verify-type-attribute</li>
  60. <li class="li">classval</li>
  61. <li class="li">getshortdesc</li>
  62. <li class="li">getlinktext</li>
  63. <li class="li">blocktext</li>
  64. <li class="li">figtext</li>
  65. <li class="li">tabletext</li>
  66. <li class="li">litext</li>
  67. <li class="li">fntext</li>
  68. <li class="li">dlentrytext</li>
  69. <li class="li">firstclass</li>
  70. <li class="li">invalid-list-item</li>
  71. <li class="li">xref</li>
  72. </ul>
  73. </section>
  74. <section class="section"><h2 class="title sectiontitle">PDF2</h2>
  75. <p class="p">The following deprecated items are no longer supported in the PDF transform:</p>
  76. <ul class="ul">
  77. <li class="li">Support for the beta version of DITA, available from IBM before the OASIS standard was created in 2005.</li>
  78. <li class="li">Support for the "bkinfo" demo plug-in, used to support book metadata before OASIS created the BookMap format
  79. in 2007.</li>
  80. <li class="li">Support for <span class="ph filepath">layout-masters.xml</span> configuration. Plug-ins should use the
  81. <code class="ph codeph">createDefaultLayoutMasters</code> template instead.</li>
  82. </ul>
  83. <p class="p">The following extension-points have been added:</p>
  84. <ul class="ul">
  85. <li class="li"><code class="ph codeph">dita.conductor.pdf2.param</code> to add XSLT parameters to XSL FO transformation.</li>
  86. </ul>
  87. <p class="p">Custom PDF2 shell stylesheets need to be revised to not include separate IBM and OASIS DITA stylesheets. The
  88. <span class="ph filepath"><var class="keyword varname">*</var>_1.0.xsl</span> stylesheets have been removed and their imports must be
  89. removed from shell stylesheets.</p>
  90. <p class="p">The following template modes have been deprecated:</p>
  91. <ul class="ul">
  92. <li class="li">toc-prefix-text</li>
  93. <li class="li">toc-topic-text</li>
  94. </ul>
  95. <p class="p">The following named templates have been removed:</p>
  96. <ul class="ul">
  97. <li class="li">processTopic</li>
  98. <li class="li">createMiniToc</li>
  99. <li class="li">processTopicTitle</li>
  100. <li class="li">createTopicAttrsName</li>
  101. <li class="li">processConcept</li>
  102. <li class="li">processReference</li>
  103. <li class="li">getTitle</li>
  104. <li class="li">placeNoteContent</li>
  105. <li class="li">placeImage</li>
  106. <li class="li">processUnknowType</li>
  107. <li class="li">insertReferenceTitle</li>
  108. <li class="li">buildRelationships</li>
  109. <li class="li">processTask</li>
  110. </ul>
  111. <p class="p">The main FO generation process now relies on the merging process to rewrite duplicate IDs. The default merging
  112. process did this already in previous releases, but now also custom merging processes must fulfill the duplicate
  113. ID rewrite requirement.</p>
  114. </section>
  115. <section class="section"><h2 class="title sectiontitle">XHTML</h2>
  116. <p class="p">The following named templates have been deprecated:</p>
  117. <ul class="ul">
  118. <li class="li">make-index-ref</li>
  119. </ul>
  120. <p class="p">The following deprecated templates have been removed:</p>
  121. <ul class="ul">
  122. <li class="li">revblock-deprecated</li>
  123. <li class="li">revstyle-deprecated</li>
  124. <li class="li">start-revision-flag-deprecated</li>
  125. <li class="li">end-revision-flag-deprecated</li>
  126. <li class="li">concept-links</li>
  127. <li class="li">task-links</li>
  128. <li class="li">reference-links</li>
  129. <li class="li">relinfo-links</li>
  130. <li class="li">sort-links-by-role</li>
  131. <li class="li">create-links</li>
  132. <li class="li">add-linking-attributes</li>
  133. <li class="li">add-link-target-attribute</li>
  134. <li class="li">add-user-link-attributes</li>
  135. </ul>
  136. <p class="p">The removed templates have been replaced by other templates in earlier releases and plug-ins should be changed
  137. to use the new templates.</p>
  138. </section>
  139. <section class="section"><h2 class="title sectiontitle">ODT</h2>
  140. <p class="p">The following deprecated templates have been removed:</p>
  141. <ul class="ul">
  142. <li class="li">revblock-deprecated</li>
  143. <li class="li">revstyle-deprecated</li>
  144. <li class="li">start-revision-flag-deprecated</li>
  145. <li class="li">end-revision-flag-deprecated</li>
  146. </ul>
  147. <p class="p">The removed templates have been replaced by other templates in earlier releases and plug-ins should be changed
  148. to use the new templates.</p>
  149. </section>
  150. </div>
  151. <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.0, 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>