migrating-to-1.6.dita 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <reference id="ID" rev="1.6">
  5. <title>Migrating to release 1.6</title>
  6. <titlealts>
  7. <navtitle>To 1.6</navtitle>
  8. </titlealts>
  9. <shortdesc>In DITA-OT 1.6, various <filepath>demo</filepath> plug-ins were removed along with many deprecated
  10. properties, targets, templates and modes. The PDF2 transformation no longer supports the beta version of DITA from
  11. IBM, the "bkinfo" demo plug-in, or <filepath>layout-masters.xml</filepath> configuration.</shortdesc>
  12. <refbody>
  13. <section>
  14. <p>Support for the old DITAVAL format (used before OASIS added DITAVAL to the standard in 2007) has been
  15. removed.</p>
  16. <p>The <filepath>demo</filepath> folder has been deprecated and the following plug-ins have been moved to the
  17. <filepath>plugins</filepath> folder:</p>
  18. <simpletable>
  19. <sthead>
  20. <stentry>old path</stentry>
  21. <stentry>new path</stentry>
  22. </sthead>
  23. <strow>
  24. <stentry><filepath>demo/dita11</filepath></stentry>
  25. <stentry><filepath>plugins/org.dita.specialization.dita11</filepath></stentry>
  26. </strow>
  27. <strow>
  28. <stentry><filepath>demo/dita132</filepath></stentry>
  29. <stentry><filepath>plugins/org.dita.specialization.dita132</filepath></stentry>
  30. </strow>
  31. <strow>
  32. <stentry><filepath>demo/eclipsemap</filepath></stentry>
  33. <stentry><filepath>plugins/org.dita.specialization.eclipsemap</filepath></stentry>
  34. </strow>
  35. <strow>
  36. <stentry><filepath>demo/fo</filepath></stentry>
  37. <stentry><filepath>plugins/org.dita.pdf2</filepath></stentry>
  38. </strow>
  39. <strow>
  40. <stentry><filepath>demo/tocjs</filepath></stentry>
  41. <stentry><filepath>plugins/com.sophos.tocjs</filepath></stentry>
  42. </strow>
  43. <!-- These plugins are pulled from ext-plugins during build -->
  44. <strow>
  45. <stentry><filepath>demo/h2d</filepath></stentry>
  46. <stentry><filepath>plugins/h2d</filepath></stentry>
  47. </strow>
  48. <strow>
  49. <stentry><filepath>demo/legacypdf</filepath></stentry>
  50. <stentry><filepath>plugins/legacypdf</filepath></stentry>
  51. </strow>
  52. </simpletable>
  53. <p>The remaining plug-ins in the demo folder have been moved to a separate repository at <xref
  54. href="https://github.com/dita-ot/ext-plugins" scope="external" format="html"
  55. >github.com/dita-ot/ext-plugins</xref>.</p>
  56. </section>
  57. <section>
  58. <p>The deprecated property <codeph>dita.input.valfile</codeph> should be replaced with the new argument property
  59. <codeph>args.filter</codeph>.</p>
  60. <p>The <codeph>dita-preprocess</codeph> target has been removed and dependencies should be replaced with a target
  61. sequence <codeph>build-init, preprocess</codeph>.</p>
  62. <p>Support for the <codeph>args.message.file</codeph> argument has been removed as message configuration has
  63. become static configuration.</p>
  64. <p>The <codeph>workdir</codeph> processing instruction has been deprecated in favor of
  65. <codeph>workdir-uri</codeph>. The only difference between the two processing instructions is that
  66. <codeph>workdir-uri</codeph> contains a URI instead of a system path.</p>
  67. </section>
  68. <section>
  69. <title>Preprocessing</title>
  70. <p>The following deprecated templates and modes have been removed in topic pull stylesheets:</p>
  71. <ul>
  72. <li>inherit</li>
  73. <li>get-stuff</li>
  74. <li>verify-type-attribute</li>
  75. <li>classval</li>
  76. <li>getshortdesc</li>
  77. <li>getlinktext</li>
  78. <li>blocktext</li>
  79. <li>figtext</li>
  80. <li>tabletext</li>
  81. <li>litext</li>
  82. <li>fntext</li>
  83. <li>dlentrytext</li>
  84. <li>firstclass</li>
  85. <li>invalid-list-item</li>
  86. <li>xref</li>
  87. </ul>
  88. </section>
  89. <section>
  90. <title>PDF2</title>
  91. <p>The following deprecated items are no longer supported in the PDF transform:</p>
  92. <ul>
  93. <li>Support for the beta version of DITA, available from IBM before the OASIS standard was created in 2005.</li>
  94. <li>Support for the "bkinfo" demo plug-in, used to support book metadata before OASIS created the BookMap format
  95. in 2007.</li>
  96. <li>Support for <filepath>layout-masters.xml</filepath> configuration. Plug-ins should use the
  97. <codeph>createDefaultLayoutMasters</codeph> template instead.</li>
  98. </ul>
  99. <p>The following extension-points have been added:</p>
  100. <ul>
  101. <li><codeph>dita.conductor.pdf2.param</codeph> to add XSLT parameters to XSL FO transformation.</li>
  102. </ul>
  103. <p>Custom PDF2 shell stylesheets need to be revised to not include separate IBM and OASIS DITA stylesheets. The
  104. <filepath><varname>*</varname>_1.0.xsl</filepath> stylesheets have been removed and their imports must be
  105. removed from shell stylesheets.</p>
  106. <p>The following template modes have been deprecated:</p>
  107. <ul>
  108. <li>toc-prefix-text</li>
  109. <li>toc-topic-text</li>
  110. </ul>
  111. <p>The following named templates have been removed:</p>
  112. <ul>
  113. <li>processTopic</li>
  114. <li>createMiniToc</li>
  115. <li>processTopicTitle</li>
  116. <li>createTopicAttrsName</li>
  117. <li>processConcept</li>
  118. <li>processReference</li>
  119. <li>getTitle</li>
  120. <li>placeNoteContent</li>
  121. <li>placeImage</li>
  122. <li>processUnknowType</li>
  123. <li>insertReferenceTitle</li>
  124. <li>buildRelationships</li>
  125. <li>processTask</li>
  126. </ul>
  127. <p>The main FO generation process now relies on the merging process to rewrite duplicate IDs. The default merging
  128. process did this already in previous releases, but now also custom merging processes must fulfill the duplicate
  129. ID rewrite requirement.</p>
  130. </section>
  131. <section>
  132. <title>XHTML</title>
  133. <p>The following named templates have been deprecated:</p>
  134. <ul>
  135. <li>make-index-ref</li>
  136. </ul>
  137. <p>The following deprecated templates have been removed:</p>
  138. <ul>
  139. <li>revblock-deprecated</li>
  140. <li>revstyle-deprecated</li>
  141. <li>start-revision-flag-deprecated</li>
  142. <li>end-revision-flag-deprecated</li>
  143. <li>concept-links</li>
  144. <li>task-links</li>
  145. <li>reference-links</li>
  146. <li>relinfo-links</li>
  147. <li>sort-links-by-role</li>
  148. <li>create-links</li>
  149. <li>add-linking-attributes</li>
  150. <li>add-link-target-attribute</li>
  151. <li>add-user-link-attributes</li>
  152. </ul>
  153. <p>The removed templates have been replaced by other templates in earlier releases and plug-ins should be changed
  154. to use the new templates.</p>
  155. </section>
  156. <section>
  157. <title>ODT</title>
  158. <p>The following deprecated templates have been removed:</p>
  159. <ul>
  160. <li>revblock-deprecated</li>
  161. <li>revstyle-deprecated</li>
  162. <li>start-revision-flag-deprecated</li>
  163. <li>end-revision-flag-deprecated</li>
  164. </ul>
  165. <p>The removed templates have been replaced by other templates in earlier releases and plug-ins should be changed
  166. to use the new templates.</p>
  167. </section>
  168. </refbody>
  169. </reference>