migrating-to-1.6.dita 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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. <prolog>
  13. <metadata>
  14. <keywords>
  15. <indexterm>deprecated features
  16. <indexterm><filepath>demo</filepath> folder</indexterm></indexterm>
  17. <indexterm>deprecated features
  18. <indexterm><codeph>workdir</codeph> processing instruction</indexterm></indexterm>
  19. <indexterm>deprecated features
  20. <indexterm><codeph>workdir</codeph> processing instruction</indexterm></indexterm>
  21. <indexterm>deprecated features
  22. <indexterm>topic pull templates, list of</indexterm></indexterm>
  23. <indexterm>deprecated features
  24. <indexterm>"bkinfo" demo plug-in</indexterm></indexterm>
  25. <indexterm>deprecated features
  26. <indexterm><filepath>layout-masters.xml</filepath></indexterm></indexterm>
  27. <indexterm>deprecated features
  28. <indexterm>PDF2 templates, list of</indexterm></indexterm>
  29. <indexterm>deprecated features
  30. <indexterm>XHTML templates, list of</indexterm></indexterm>
  31. <indexterm>deprecated features
  32. <indexterm>ODT templates, list of</indexterm></indexterm>
  33. </keywords>
  34. </metadata>
  35. </prolog>
  36. <refbody>
  37. <section>
  38. <p>Support for the old DITAVAL format (used before OASIS added DITAVAL to the standard in 2007) has been
  39. removed.</p>
  40. <p>The <filepath>demo</filepath> folder has been deprecated and the following plug-ins have been moved to the
  41. <filepath>plugins</filepath> folder:</p>
  42. <table outputclass="table-hover" frame="none" colsep="0" rowsep="1">
  43. <tgroup cols="2">
  44. <colspec colwidth="1*"/>
  45. <colspec colwidth="1*"/>
  46. <thead>
  47. <row>
  48. <entry>old path</entry>
  49. <entry>new path</entry>
  50. </row>
  51. </thead>
  52. <tbody>
  53. <row>
  54. <entry><filepath>demo/dita11</filepath></entry>
  55. <entry><filepath>plugins/org.dita.specialization.dita11</filepath></entry>
  56. </row>
  57. <row>
  58. <entry><filepath>demo/dita132</filepath></entry>
  59. <entry><filepath>plugins/org.dita.specialization.dita132</filepath></entry>
  60. </row>
  61. <row>
  62. <entry><filepath>demo/eclipsemap</filepath></entry>
  63. <entry><filepath>plugins/org.dita.specialization.eclipsemap</filepath></entry>
  64. </row>
  65. <row>
  66. <entry><filepath>demo/fo</filepath></entry>
  67. <entry><filepath>plugins/org.dita.pdf2</filepath></entry>
  68. </row>
  69. <row>
  70. <entry><filepath>demo/tocjs</filepath></entry>
  71. <entry><filepath>plugins/com.sophos.tocjs</filepath></entry>
  72. </row>
  73. <!-- These plugins are pulled from ext-plugins during build -->
  74. <row>
  75. <entry><filepath>demo/h2d</filepath></entry>
  76. <entry><filepath>plugins/h2d</filepath></entry>
  77. </row>
  78. <row>
  79. <entry><filepath>demo/legacypdf</filepath></entry>
  80. <entry><filepath>plugins/legacypdf</filepath></entry>
  81. </row>
  82. </tbody>
  83. </tgroup>
  84. </table>
  85. <p>The remaining plug-ins in the demo folder have been moved to a separate repository at
  86. <xref href="https://github.com/dita-ot/ext-plugins" scope="external" format="html"
  87. >github.com/dita-ot/ext-plugins</xref>.</p>
  88. </section>
  89. <section>
  90. <p>The deprecated property <codeph>dita.input.valfile</codeph> should be replaced with the new argument property
  91. <codeph>args.filter</codeph>.</p>
  92. <p>The <codeph>dita-preprocess</codeph> target has been removed and dependencies should be replaced with a target
  93. sequence <codeph>build-init, preprocess</codeph>.</p>
  94. <p>Support for the <codeph>args.message.file</codeph> argument has been removed as message configuration has
  95. become static configuration.</p>
  96. <p>The <codeph>workdir</codeph> processing instruction has been deprecated in favor of
  97. <codeph>workdir-uri</codeph>. The only difference between the two processing instructions is that
  98. <codeph>workdir-uri</codeph> contains a URI instead of a system path.</p>
  99. </section>
  100. <section>
  101. <title>Preprocessing</title>
  102. <p>The following deprecated templates and modes have been removed in topic pull stylesheets:</p>
  103. <ul>
  104. <li>inherit</li>
  105. <li>get-stuff</li>
  106. <li>verify-type-attribute</li>
  107. <li>classval</li>
  108. <li>getshortdesc</li>
  109. <li>getlinktext</li>
  110. <li>blocktext</li>
  111. <li>figtext</li>
  112. <li>tabletext</li>
  113. <li>litext</li>
  114. <li>fntext</li>
  115. <li>dlentrytext</li>
  116. <li>firstclass</li>
  117. <li>invalid-list-item</li>
  118. <li>xref</li>
  119. </ul>
  120. </section>
  121. <section>
  122. <title>PDF2</title>
  123. <p>The following deprecated items are no longer supported in the PDF transform:</p>
  124. <ul>
  125. <li>Support for the beta version of DITA, available from IBM before the OASIS standard was created in 2005.</li>
  126. <li>Support for the "bkinfo" demo plug-in, used to support book metadata before OASIS created the BookMap format
  127. in 2007.</li>
  128. <li>Support for <filepath>layout-masters.xml</filepath> configuration. Plug-ins should use the
  129. <codeph>createDefaultLayoutMasters</codeph> template instead.</li>
  130. </ul>
  131. <p>The following extension-points have been added:</p>
  132. <ul>
  133. <li><codeph>dita.conductor.pdf2.param</codeph> to add XSLT parameters to XSL FO transformation.</li>
  134. </ul>
  135. <p>Custom PDF2 shell stylesheets need to be revised to not include separate IBM and OASIS DITA stylesheets. The
  136. <filepath><varname>*</varname>_1.0.xsl</filepath> stylesheets have been removed and their imports must be
  137. removed from shell stylesheets.</p>
  138. <p>The following template modes have been deprecated:</p>
  139. <ul>
  140. <li>toc-prefix-text</li>
  141. <li>toc-topic-text</li>
  142. </ul>
  143. <p>The following named templates have been removed:</p>
  144. <ul>
  145. <li>processTopic</li>
  146. <li>createMiniToc</li>
  147. <li>processTopicTitle</li>
  148. <li>createTopicAttrsName</li>
  149. <li>processConcept</li>
  150. <li>processReference</li>
  151. <li>getTitle</li>
  152. <li>placeNoteContent</li>
  153. <li>placeImage</li>
  154. <li>processUnknowType</li>
  155. <li>insertReferenceTitle</li>
  156. <li>buildRelationships</li>
  157. <li>processTask</li>
  158. </ul>
  159. <p>The main FO generation process now relies on the merging process to rewrite duplicate IDs. The default merging
  160. process did this already in previous releases, but now also custom merging processes must fulfill the duplicate
  161. ID rewrite requirement.</p>
  162. </section>
  163. <section>
  164. <title>XHTML</title>
  165. <p>The following named templates have been deprecated:</p>
  166. <ul>
  167. <li>make-index-ref</li>
  168. </ul>
  169. <p>The following deprecated templates have been removed:</p>
  170. <ul>
  171. <li>revblock-deprecated</li>
  172. <li>revstyle-deprecated</li>
  173. <li>start-revision-flag-deprecated</li>
  174. <li>end-revision-flag-deprecated</li>
  175. <li>concept-links</li>
  176. <li>task-links</li>
  177. <li>reference-links</li>
  178. <li>relinfo-links</li>
  179. <li>sort-links-by-role</li>
  180. <li>create-links</li>
  181. <li>add-linking-attributes</li>
  182. <li>add-link-target-attribute</li>
  183. <li>add-user-link-attributes</li>
  184. </ul>
  185. <p>The removed templates have been replaced by other templates in earlier releases and plug-ins should be changed
  186. to use the new templates.</p>
  187. </section>
  188. <section>
  189. <title>ODT</title>
  190. <p>The following deprecated templates have been removed:</p>
  191. <ul>
  192. <li>revblock-deprecated</li>
  193. <li>revstyle-deprecated</li>
  194. <li>start-revision-flag-deprecated</li>
  195. <li>end-revision-flag-deprecated</li>
  196. </ul>
  197. <p>The removed templates have been replaced by other templates in earlier releases and plug-ins should be changed
  198. to use the new templates.</p>
  199. </section>
  200. </refbody>
  201. </reference>