版本兼容性

打开并使用某些模板和文档规范所使用的 Rational® Publishing Engine 版本可以与创建这些模板和文档规范所使用的版本不同。在 Rational Publishing Engine 1.2 和更高版本中,可选择要使用的模板结构,从而使其与任何其他版本的 Rational Publishing Engine 中创建的模板兼容。

Rational Publishing Engine 1.2 和更高版本

Rational Publishing Engine 1.2 中,已重新设计模板语言以包括“选用板”视图中的其他元素、扩展 JavaScript 功能及更多内容。因此,可选择使用哪种模板语言来设计模板,因此,您使用更低发行版创建的模板与 Rational Publishing Engine 1.2 和更高版本兼容。可选择使用 Rational Publishing Engine 1.2 和更高版本 模板语言或继续使用先前版本的 Rational Publishing Engine 使用模板的语言。

在安装 Rational Publishing Engine 的最新版本之后,数据提供程序可能尚不支持 V2 模板结构。例如,您可能正在使用合并了 Rational Reporting for Document Generation 1.1.2.2 或更低版本的数据提供程序。如果您的数据提供程序还不支持 Rational Publishing Engine 1.2 或更高版本和版本 2 模板结构,请对您的模板指定版本 1 模板结构。请与数据提供程序的管理员联系或者检查数据提供程序的用户界面或文档,以了解已将 Rational Reporting for Document Generation 的哪个版本合并到数据提供程序中。

创建模板时,可以选择下列其中一个选项:
  • 模板版本 1(RPE 1.1.2.2 及之前版本)使用 Rational Publishing Engine 1.1.2.2 及之前版本中的功能,而不是 Rational Publishing Engine 1.2 中引入的其他功能。
  • 模板版本 2(当前 RPE 版本)使用 Rational Publishing Engine 1.2 中引入的其他功能。

    要对每个新模板使用相同的模板版本,请在文档设计首选项中选择使用特定的模板版本

打开使用先前版本创建的模板时,可以选择下列其中一个选项:
  • 模板版本 1(保留版本 RPE 1.1.2.2 及之前版本):不使用 Rational Publishing Engine 1.2 中引入的其他功能。
  • 模板版本 2(将模板升级至当前 RPE 版本):使用 Rational Publishing Engine 1.2 中引入的其他功能。如果选择升级使用 Rational Publishing Engine 先前版本创建的模板,那么该模板就不再与用来创建该模板的版本兼容。

    不能选择打开模板时记住您的选择。每次打开使用 Rational Publishing Engine 的先前版本创建的模板时,都必须指定选择,以便当使用 Rational Publishing EngineRational Reporting for Document Generation 的较旧版本时,不会误用不正确的模板版本。

Rational Publishing Engine 1.1.2.2 及较早版本

如果选择不升级您安装的 Rational Publishing Engine,请注意 Rational Publishing Engine 的一些版本与另一些版本不兼容。要使用下表,请找到已安装的 Rational Publishing Engine 的版本,然后了解使用 Rational Publishing Engine 的哪些版本创建的模板与您已安装的版本兼容。
  • 对于兼容版本,可打开在列标题中的 Rational Publishing Engine 版本中创建的模板或文档规范,并继续在您安装的当前版本中使用该模板或文档规范。
  • 对于与版本 1 模板兼容的版本,可打开在列标题中的 Rational Publishing Engine 版本中创建的文档规范或版本 1 模板,并继续在您安装的当前版本中使用该模板或文档规范。V2 模板与 Rational Publishing Engine 1.1.2.2 和更低版本不兼容。
  • 对于不兼容的版本,在列标题中的 Rational Publishing Engine 版本中创建的模板都无法与您已安装的当前版本配合使用。
表 1. Rational Publishing Engine 版本兼容性
安装的 Rational Publishing Engine 版本 使用 1.0 创建的模板 使用 1.1 创建的模板 使用 1.1.1 创建的模板 使用 1.1.1.1 创建的模板 使用 1.1.2 创建的模板 使用 1.1.2.1 创建的模板 使用 1.1.2.2 创建的模板 使用 1.2 创建的模板 使用 1.2.0.1 创建的模板 使用 1.2.1 创建的模板 使用 1.2.1.1 创建的模板
1.2.1.1 已安装 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容
1.2.1 已安装 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容
1.2.0.1 已安装 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容
安装的 1.2 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容 兼容
安装的 1.1.2.2 兼容 兼容 兼容 兼容 兼容 兼容 兼容 与 V1 模板兼容 与 V1 模板兼容 与 V1 模板兼容 与 V1 模板兼容
安装的 1.1.2.1 兼容 兼容 兼容 兼容 兼容 兼容 兼容 与 V1 模板兼容 与 V1 模板兼容 与 V1 模板兼容 与 V1 模板兼容
安装的 1.1.2 兼容 兼容 兼容 兼容 兼容 兼容 兼容 与 V1 模板兼容 与 V1 模板兼容 与 V1 模板兼容 与 V1 模板兼容
安装的 1.1.1.1 兼容 兼容 兼容 兼容 兼容 兼容 兼容 与 V1 模板兼容 与 V1 模板兼容 与 V1 模板兼容 与 V1 模板兼容
安装的 1.1.1 兼容 兼容 兼容 不兼容 不兼容 不兼容 不兼容 不兼容 不兼容 不兼容 不兼容
安装的 1.1 兼容 兼容 兼容 不兼容 不兼容 不兼容 不兼容 不兼容 不兼容 不兼容 不兼容
安装的 1.0 兼容 兼容 兼容 不兼容 不兼容 不兼容 不兼容 不兼容 不兼容 不兼容 不兼容

反馈