ImageVerifierCode 换一换
格式:PDF , 页数:63 ,大小:489.09KB ,
资源ID:731134      下载积分:10000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-731134.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(ETSI ES 203 119-3-2015 Methods for Testing and Specification (MTS) The Test Description Language (TDL) Part 3 Exchange Format (V1 1 1)《测试方法和规格 (MTS) 试验描述语言 (TDL) 第3部分 交换格式 (V1 1 1).pdf)为本站会员(deputyduring120)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

ETSI ES 203 119-3-2015 Methods for Testing and Specification (MTS) The Test Description Language (TDL) Part 3 Exchange Format (V1 1 1)《测试方法和规格 (MTS) 试验描述语言 (TDL) 第3部分 交换格式 (V1 1 1).pdf

1、 ETSI ES 203 119-3 V1.1.1 (2015-06) Methods for Testing and Specification (MTS); The Test Description Language (TDL); Part 3: Exchange Format ETSI STANDARD ETSI ETSI ES 203 119-3 V1.1.1 (2015-06)2 Reference DES/MTS-203119-3 Keywords language, MBT, methodology, testing, TSS Essential, or potentially

2、Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/ipr.etsi.org). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarante

3、e can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become, essential to the present document. Foreword This ETSI Standard (ES) has been produced by ETSI Technical Committee Methods for Testing and Sp

4、ecification (MTS). The present document is part 3 of a multi-part deliverable covering the Test Description Language, as identified below: Part 1: “Abstract Syntax and Associated Semantics“; Part 2: “Graphical Syntax“; Part 3: “Exchange Format“; Part 4: “Structured Test Objective Specification (Exte

5、nsion)“. Modal verbs terminology In the present document “shall“, “shall not“, “should“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “mu

6、st not“ are NOT allowed in ETSI deliverables except when used in direct citation. ETSI ETSI ES 203 119-3 V1.1.1 (2015-06)5 1 Scope The present document specifies the exchange format of the Test Description Language (TDL) in the form of an XML Schema derived from the TDL meta-model 1. The intended us

7、e of the present document is to serve as the specification of the format used for exchange of model instances and tool interoperability between TDL-compliant tools. 2 References 2.1 Normative references References are either specific (identified by date of publication and/or edition number or versio

8、n number) or non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the reference document (including any amendments) applies. Referenced documents which are not found to be publicly available in the expected location might be found

9、at http:/docbox.etsi.org/Reference. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are necessary for the application of the present document. 1 ETSI ES 203 119-1 (V1.2.1): “M

10、ethods for Testing and Specification (MTS); The Test Description Language (TDL); Part 1: Abstract Syntax and Associated Semantics“. 2 “OMG Meta Object Facility (MOF) Core Specification“, Version 2.4.2, formal/2014-04-03. NOTE: Available at http:/www.omg.org/spec/MOF/2.4.2/. 3 “OMG XML Metadata Inter

11、change (XMI) Specification“, Version 2.4.2, formal/2014-04-04. NOTE: Available at http:/www.omg.org/spec/MOF/2.4.2/. 4 “Extensible Markup Language (XML) 1.0 (Fifth Edition)“, W3C Recommendation 26 November 2008. NOTE: Available at http:/www.w3.org/TR/REC-xml/. 5 Recommendation ITU-T X.667: “Informat

12、ion technology Procedures for the operation of object identifier registration authorities: Generation of universally unique identifiers and their use in object identifiers“. 2.2 Informative references References are either specific (identified by date of publication and/or edition number or version

13、number) or non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the reference document (including any amendments) applies. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guaran

14、tee their long term validity. The following referenced documents are not necessary for the application of the present document but they assist the user with regard to a particular subject area. i.1 ETSI ES 203 119-2 (V1.1.1): “Methods for Testing and Specification (MTS); The Test Description Languag

15、e (TDL); Part 2: Graphical Syntax“. i.2 ETSI ES 203 119-4 (V1.1.1): “Methods for Testing and Specification (MTS); The Test Description Language (TDL); Part 4: Structured Test Objective Specification (Extension)“. ETSI ETSI ES 203 119-3 V1.1.1 (2015-06)6 3 Definitions and abbreviations 3.1 Definition

16、s For the purposes of the present document, the following terms and definitions apply: TDL XMI document: XMI document that represents the serialization of a TDL model TDL XMI Schema: XMI Schema that describes valid TDL XMI documents XMI document: XML document that represents the serialization of a M

17、OF model XMI Schema: XML Schema definition that describes valid XMI documents 3.2 Abbreviations For the purposes of the present document, the following abbreviations apply: EBNF Extended Backus-Naur Form MOF Meta-Object Facility TDL Test Description Language URI Uniform Resource Identifier UUID Univ

18、ersal Unique Identifier XMI XML Metadata Interchange XML eXtensible Markup LanguageXSD XML Schema Definition 4 Basic principles 4.1 Introduction XMI is the serialization format for persistence and interchange of TDL models. XMI stands for XML Metadata Interchange and describes a unified way to seria

19、lize, persist, exchange and de-serialize MOF-based models 2. The XMI specification 3 describes both production rules to create an XMI Schema and an XMI document for a MOF model. The present document describes the production rules for both a TDL XMI Schema according to the TDL meta-model definition a

20、nd TDL XMI documents for the serialization of TDL models. A TDL XMI Schema is useful to validate whether a TDL XMI document complies with the serialization rules specified in the present document. A complete validation of the represented TDL model cannot be performed solely with the TDL XMI Schema d

21、ue to additional semantics introduced by MOF and XMI compared to XML Schema. Validation of TDL XMI documents shall be done in a two-step approach: Lexical (syntactical) validation based on the TDL XMI Schema: This validation step assures that XMI documents abide by the serialization rules for TDL mo

22、dels as described by the present document. Semantical validation based on the TDL meta-model definition: While deserializing TDL XMI documents, the modelling tool shall perform semantics checks based on the specification of the TDL meta-model and the additional XMI information. The lexical validatio

23、n is optional, since it only serves the purpose of syntactically assuring that a TDL XMI document is valid in terms of structure. Semantical validation is always required to ensure that the XMI document is a valid serialization of a TDL model. Due to the nature of the lexical validation, it is possi

24、ble to produce valid TDL XMI documents with respect to the TDL XMI Schema but invalid TDL XMI documents with respect to the TDL meta-model specification. ETSI ETSI ES 203 119-3 V1.1.1 (2015-06)7 4.2 Document Structure The present document defines the exchange format for TDL model instances by means

25、of a TDL XMI schema. The document is structured as follows: Clause 5 “TDL XMI Schema“ describes the rules that are applied for the production of a valid TDL XMI Schema according to TDL meta-model. Clause 6 “TDL XMI Document Serialization“ describes the production rules that shall be applied when ser

26、ializing TDL models. This clause contains a number of examples to comprehensibly illustrate the serialization of various TDL elements. Annex A specifies the canonical TDL XMI Schema based on the current TDL meta-model specification 1. 4.3 Notational Conventions For the scope of the present document,

27、 the following notational conventions apply: Elements from the TDL meta-model or MOF model or XMI model are typeset in italic, e.g. the property is Optional of Member has the default value false. Elements from XML or XML Schema are typeset in the monospaced font Courier, e.g. the complexType declara

28、tion. 4.4 Conformance TDL XMI documents shall be valid and well formed as defined by the XML recommendation 4. TDL XMI documents shall be syntactically valid according the TDL XMI Schema described in the present document. TDL XMI documents shall be semantically valid according the TDL meta-model spe

29、cification. 5 TDL XMI Schema 5.1 TDL XMI Schema Production Rules 5.1.1 Overview The TDL XMI Schema production rules refine the general XMI Schema derivation rules 3. The TDL XMI Schema production rules unify the way in which TDL XMI documents shall be represented. Since XMI is more expressive than X

30、ML Schema in some parts which are relevant for MOF-based models, the following rules clarify how a TDL XMI Schema copes with the higher expressiveness of XMI compared to XML Schema: Multiple inheritance: Multiple inheritance is not required for the TDL XMI Schema. Identification: Element identificat

31、ion is based on the XMI attribute ID as specified in the XMI specification 3. The value of an elements ID is derived according to the algorithm for generating universally unique identifier (UUID) described in Recommendation ITU-T X.667 5. Differences: TDL XMI Schema does not support the XMI elements

32、 Difference, Add, Replace, Delete. Bidirectionality: Bidirectional associations (i.e. association ends that have an opposite association end that can be directly navigated from each other) are resolved into two associations. The TDL XMI Schema described in this document is not recommended to be used

33、 for the generation of the MOF-based TDL meta-model. ETSI ETSI ES 203 119-3 V1.1.1 (2015-06)8 The structure of the TDL XMI Schema document complies with the XMI specification and contains the following concepts: An XML version processing instruction with an encoding character set information, e.g. .

34、 Any other valid XML processing instructions. An XML schema element, i.e. the root of the XML Schema document. An import XML element for the XMI namespace. Any other valid import XML elements to other referenced XML Schema documents. Declarations of concepts for the TDL meta-model. 5.1.2 TDL metacla

35、ss Element The TDL XMI Schema element (root element of the TDL XMI Schema definition) has to comply with the following rules: The namespace declaration of XML Schema shall be present and set to xsd=“http:/www.w3.org/2001/XMLSchema“ The namespace declaration of XMI shall be present and set to xmi=“ht

36、tp:/www.omg.org/spec/XMI/20100901“ The namespace declaration of the TDL meta-model shall be present and set to tdl=“http:/www.etsi.org/spec/TDL/20141219“ The target namespace declaration shall be the same as the namespace declaration for the TDL meta-model. 5.1.3 Import statements For the definition

37、 of import statements, the following rules shall be applied: An import of the fixed declarations that are mandatory for every XMI schema shall be given as first import statement after the XMI Schema element. These declarations are in the namespace http:/www.omg.org/spec/XMI/20100901. For further inf

38、ormation about the fixed declarations of the XMI schema element, please refer to the XMI specification 3, clause “XMI Document and Schema Design Principles“. Import elements for other XML Schema documents are allowed as long as they do not contradict with the concepts provided by the TDL meta-model

39、or rules specified for the TDL XMI Schema document. 5.1.4 Representation of the TDL meta-model The declaration of the concepts contained in the TDL meta-model shall comply with the following rules: Metaclasses are represented as a combination of the XML Schema elements complexType and element where

40、complexType specifies the metaclass structure and element its concrete use in a certain situation. The use of element is required for expressing containment relationships. Abstract metaclasses are represented similar to concrete metaclasses, but with abstract=“true“ set in the complexType declaratio

41、n. Enumerations are represented as XML Schema simpleType elements. A restriction is used with base set to XML Schema xsd:NCName. ETSI ETSI ES 203 119-3 V1.1.1 (2015-06)9 Metaclass properties in general represent properties that are typed by MOF primitive types (e.g. String, Integer, etc.), TDL enume

42、rations, or TDL metaclasses. They are either represented as an XML Schema element or attribute, depending on the multiplicity of the metaclass property, the type of the metaclass property, and whether the type of property is contained within in the same XMI file as the property or not. In either cas

43、e, the name shall be set to the propertys name. The type shall be set to the XML Schema type declaration corresponding to the propertys type. Metaclass properties that refer to metaclasses in a different XMI file are always serialized as nested elements. These properties are represented as XML schem

44、a elements element. Such an element declaration is embedded in a choice model group with minOccurs=“0“ and maxOccurs=“unbounded“ attributes within the complexType declaration representing the containing metaclass of the property. Metaclass properties of simple type represent properties that are type

45、d by MOF primitive types (e.g. String, Integer etc.) or TDL enumerations. They are represented either as an XML Schema element or attribute, depending on the multiplicity of the metaclass property. The MOF primitive type to XML Schema simple type mapping is defined as follows: - MOF:String - xsd:str

46、ing - MOF:Integer - xsd:integer - MOF:Boolean - xsd:Boolean - MOF:Real - xsd:decimal Metaclass properties of simple type with an upper bound of 1 are represented as attribute elements of the complexType declaration representing the propertys containing metaclass. If the lower value of the metaclass

47、property is 1 (i.e. the property value is mandatory), the attributes attribute use=“required“ shall be set. Metaclass properties of simple type with an upper bound greater than 1 are represented as element elements. Such element declarations are embedded in a choice model group with minOccurs=“0“ an

48、d maxOccurs=“unbounded“ attributes within the complexType declaration representing the containing metaclass of the property. Mixed use of both an attribute and an element elements for the same metaclass property is not permitted. Metaclass properties of metaclass type composing metaclasses represent

49、 properties of a TDL metaclass that are typed by another TDL metaclass with compositional relationship among those metaclasses. These properties are represented as XML schema element elements. Such element declarations are embedded in a choice model group with minOccurs=“0“ and maxOccurs=“unbounded“ attributes within the complexType declaration representing the containing metaclass of the property. Metaclass properties of metaclass type referencing metaclasses represent propert

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1