migrating-to-1.6.dita 8.7 KB

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