标准摘要
[中文适用范围]: 本文档定义了OTX核心要求和数据模型规范。这些要求源自 ISO 13209-1 中描述的用例。它们列在要求部分。数据模型规范旨在详尽定义为满足核心要求而实施的所有 OTX 核心功能。由于 OTX 旨在描述测试序列,而测试序列本身代表一种程序,因此核心数据模型遵循大多数编程语言共有的基本概念。因此,本文档为语法实体(如参数化过程、常量和变量声明、数据类型、基本算术、逻辑和字符串操作)、流控制语句(如循环、分支或返回)、简单语句(如赋值或过程调用)以及异常处理机制制定了规则。每个句法实体都附有语义规则,这些规则决定了如何解释 OTX 文档。语法规则由 UML 类图和 XML 模式提供,而语义由 UML 活动图和散文定义给出。对于文档用例,特别注意定义规范/实现概念(允许“混合”测试序列:人类可读的测试序列,同时机器可读)和所谓的浮动注释(可以引用序列的多个节点)。核心数据模型没有定义任何依赖于特定应用领域的语句、表达式或数据类型。为了方便用户,ISO 13209-2 OTX XML 模式定义文件(XSD)与本文档一起发布。 [外文原描述]: This document defines the OTX core requirements and data model specifications. The requirements are derived from the use cases described in ISO 13209-1. They are listed in the requirements section. The data model specification aims at an exhaustive definition of all OTX core features implemented to satisfy the core requirements. Since OTX is designed for describing test sequences, which themselves represent a kind of program, the core data model follows the basic concepts common to most programming languages. Thus, this document establishes rules for syntactical entities like parameterised procedures, constant and variable declarations, data types, basic arithmetic, logic and string operations, flow control statements like loop, branch or return, simple statements like assignment or procedure call as well as exception handling mechanisms. Each of these syntactical entities is accompanied by semantic rules which determine how OTX documents are interpreted. The syntax rules are provided by UML class diagrams and XML schemas, whereas the semantics are given by UML activity diagrams and prose definitions. With respect to documentation use cases, special attention is paid to defining a specification/realisation concept (which allows for “hybrid” test sequences: human readable test sequences that are at the same time machine-readable) and so-called floating comments (which can refer to more than one node of the sequence). The core data model does not define any statements, expressions or data types that are dependent on a specific area of application. For the convenience of the user, the ISO 13209-2 OTX XML schema definition file (XSD) is published alongside this document.
英文名称Road vehicles — Open Test sequence eXchange format (OTX) — Part 2: Core data model specification and requirements