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

加入VIP,免费下载
 

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

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

下载须知

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

版权提示 | 免责声明

本文(ETSI ES 201 873-9-2017 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 9 Using XML schema with TTCN-3 (V4 8 1).pdf)为本站会员(livefirmly316)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

ETSI ES 201 873-9-2017 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 9 Using XML schema with TTCN-3 (V4 8 1).pdf

1、 ETSI ES 201 873-9 V4.8.1 (2017-05) Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 9: Using XML schema with TTCN-3 ETSI STANDARD ETSI ETSI ES 201 873-9 V4.8.1 (2017-05)2 Reference RES/MTS-201873-9 T3XSD ed481 Keywords language, testing, TTCN-3, XML

2、 ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: h

3、ttp:/www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceive

4、d difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision

5、 or change of status. Information on the current status of this and other ETSI documents is available at https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeS

6、upportStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written autho

7、rization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2017. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE

8、 are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. oneM2M logo is protected for the benefit of its Members GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI ES 201 873-9 V4.8.1 (2017-05)3 Contents Inte

9、llectual Property Rights 7g3Foreword . 7g3Modal verbs terminology 7g31 Scope 8g32 References 8g32.1 Normative references 8g32.2 Informative references . 9g33 Definitions and abbreviations . 10g33.1 Definitions . 10g33.2 Abbreviations 10g34 Introduction 11g35 Mapping XML Schemas 11g35.0 Approach . 11

10、g35.1 Namespaces and document references 13g35.1.1 Namespaces . 13g35.1.2 Includes 13g35.1.3 Imports. 14g35.1.4 Attributes of the XSD schema element 15g35.1.5 The control namespace 16g35.2 Name conversion . 16g35.2.1 General . 16g35.2.2 Name conversion rules . 17g35.2.3 Order of the mapping . 22g35.

11、3 Mapping of XSD schema components 22g35.4 Unsupported features . 23g35.5 Conformance and compatibility 23g36 Built-in data types 23g36.0 General 23g36.1 Mapping of facets 24g36.1.0 General. 24g36.1.1 Length 24g36.1.2 MinLength . 25g36.1.3 MaxLength . 25g36.1.4 Pattern 26g36.1.5 Enumeration . 27g36.

12、1.6 WhiteSpace 29g36.1.7 MinInclusive 29g36.1.8 MaxInclusive . 31g36.1.9 MinExclusive. 32g36.1.10 MaxExclusive 33g36.1.11 Total digits . 35g36.1.12 Fraction digits 35g36.1.13 Not specifically mapped facets 36g36.2 String types 36g36.2.0 General. 36g36.2.1 String . 37g36.2.2 Normalized string 37g36.2

13、.3 Token . 37g36.2.4 Name 37g36.2.5 NMTOKEN . 37g36.2.6 NCName 38g36.2.7 ID . 38g36.2.8 IDREF 38g3ETSI ETSI ES 201 873-9 V4.8.1 (2017-05)4 6.2.9 ENTITY . 38g36.2.10 Hexadecimal binary . 38g36.2.11 Base 64 binary . 38g36.2.12 Any URI 39g36.2.13 Language . 39g36.2.14 NOTATION . 39g36.3 Integer types 3

14、9g36.3.0 General. 39g36.3.1 Integer 39g36.3.2 Positive integer 39g36.3.3 Non-positive integer 40g36.3.4 Negative integer . 40g36.3.5 Non-negative integer 40g36.3.6 Long . 40g36.3.7 Unsigned long 40g36.3.8 Int . 40g36.3.9 Unsigned int . 40g36.3.10 Short. 41g36.3.11 Unsigned Short 41g36.3.12 Byte 41g3

15、6.3.13 Unsigned byte 41g36.4 Float types . 41g36.4.0 General. 41g36.4.1 Decimal 41g36.4.2 Float . 42g36.4.3 Double . 42g36.5 Time types . 42g36.5.0 General. 42g36.5.1 Duration . 43g36.5.2 Date and time . 43g36.5.3 Time . 43g36.5.4 Date 43g36.5.5 Gregorian year and month . 43g36.5.6 Gregorian year .

16、43g36.5.7 Gregorian month and day 44g36.5.8 Gregorian day 44g36.5.9 Gregorian month 44g36.6 Sequence types 44g36.6.0 General . 44g36.6.1 NMTOKENS . 44g36.6.2 IDREFS . 44g36.6.3 ENTITIES 44g36.6.4 QName . 45g36.7 Boolean type 45g36.8 AnyType and anySimpleType types 45g37 Mapping XSD components 50g37.

17、0 General 50g37.1 Attributes of XSD component declarations . 51g37.1.0 General . 51g37.1.1 Id 51g37.1.2 Ref . 51g37.1.3 Name 52g37.1.4 MinOccurs and maxOccurs 52g37.1.5 Default and Fixed 57g37.1.6 Form. 57g37.1.7 Type . 58g37.1.8 Mixed . 58g37.1.9 Abstract 58g37.1.10 Block and blockDefault . 59g37.1

18、.11 Nillable 59g37.1.12 Use . 61g3ETSI ETSI ES 201 873-9 V4.8.1 (2017-05)5 7.1.13 Substitution group 61g37.1.14 Final . 61g37.1.15 Process contents . 61g37.2 Schema component 62g37.3 Element component . 62g37.4 Attribute and attribute group definitions . 63g37.4.1 Attribute element definitions . 63g

19、37.4.2 Attribute group definitions . 64g37.5 SimpleType components . 64g37.5.0 General . 64g37.5.1 Derivation by restriction 64g37.5.2 Derivation by list . 65g37.5.3 Derivation by union . 67g37.6 ComplexType components 70g37.6.0 General . 70g37.6.1 ComplexType containing simple content 71g37.6.1.0 G

20、eneral . 71g37.6.1.1 Extending simple content . 71g37.6.1.2 Restricting simple content 72g37.6.2 ComplexType containing complex content . 74g37.6.2.0 General . 74g37.6.2.1 Complex content derived by extension 74g37.6.2.2 Complex content derived by restriction . 80g37.6.3 Referencing group components

21、 . 82g37.6.4 All content . 85g37.6.5 Choice content . 87g37.6.5.0 General. 87g37.6.5.1 Choice with nested elements 87g37.6.5.2 Choice with nested group . 87g37.6.5.3 Choice with nested choice 88g37.6.5.4 Choice with nested sequence 88g37.6.5.5 Choice with nested any 89g37.6.6 Sequence content . 90g3

22、7.6.6.0 General . 90g37.6.6.1 Sequence with nested element content . 90g37.6.6.2 Sequence with nested group content 90g37.6.6.3 Sequence with nested choice content . 91g37.6.6.4 Sequence with nested sequence content . 91g37.6.6.5 Sequence with nested any content 92g37.6.6.6 Effect of the minOccurs a

23、nd maxOccurs attributes on the mapping 93g37.6.7 Attribute definitions, attribute and attributeGroup references . 95g37.6.8 Mixed content 97g37.7 Any and anyAttribute 100g37.7.0 General . 100g37.7.1 The any element . 100g37.7.2 The anyAttribute element 104g37.8 Annotation . 109g37.9 Group components

24、 109g37.10 Identity-constraint definition schema components 110g38 Substitutions . 110g38.0 General 110g38.1 Element substitution 111g38.1.1 Head elements of substitution groups 111g38.1.2 Substitution group members 116g38.2 Type substitution . 116g3Annex A (normative): TTCN-3 module XSD 123g3Annex

25、B (normative): Encoding instructions 127g3B.0 General . 127g3ETSI ETSI ES 201 873-9 V4.8.1 (2017-05)6 B.1 General . 127g3B.2 Basic XML encode and variant attribute rules . 128g3B.2.1 The XML encode attribute 128g3B.2.2 Variant Attribute Overwriting Rules . 128g3B.3 Encoding instructions . 129g3B.3.1

26、 XSD data type identification . 129g3B.3.2 Any element 129g3B.3.3 Any attributes 130g3B.3.4 Attribute 131g3B.3.5 AttributeFormQualified . 131g3B.3.6 Control namespace identification 131g3B.3.7 Default for empty 132g3B.3.8 Element . 132g3B.3.9 ElementFormQualified 132g3B.3.10 Embed values 133g3B.3.11

27、 Form 133g3B.3.12 List. 133g3B.3.13 Name . 134g3B.3.14 Namespace identification 134g3B.3.15 Nillable elements . 135g3B.3.16 Use union. 135g3B.3.17 Text . 136g3B.3.18 Use number . 136g3B.3.19 Use order . 137g3B.3.20 Whitespace control 137g3B.3.21 Untagged elements 137g3B.3.22 Abstract . 138g3B.3.23 B

28、lock . 139g3B.3.24 Use type . 139g3B.3.25 Process the content of any elements and attributes . 140g3B.3.26 Transparent 140g3B.3.27 No Type . 141g3B.3.28 Number of fraction digits 141g3B.3.29 XML header control 142g3Annex C (informative): Examples . 143g3C.0 General . 143g3C.1 Example 1 . 143g3C.2 Ex

29、ample 2 . 145g3C.3 Example 3 . 146g3Annex D (informative): Deprecated features . 150g3D.1 Using the anyElement encoding instruction to record of fields . 150g3D.2 Using the XML language identifier string 150g3D.3 Id. 151g3Annex E (informative): Bibliography . 152g3History 153g3ETSI ETSI ES 201 873-9

30、 V4.8.1 (2017-05)7 Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “In

31、tellectual Property Rights (IPRs); Essential, or potentially 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 (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, in

32、cluding IPR searches, has been carried out by ETSI. No guarantee 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

33、produced by ETSI Technical Committee Methods for Testing and Specification (MTS). The present document is part 9 of a multi-part deliverable. Full details of the entire series can be found in part 1 1. Modal verbs terminology In the present document “shall“, “shall not“, “should“, “should not“, “may

34、“, “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 “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. ETSI ETSI ES 201 873-9 V4

35、.8.1 (2017-05)8 1 Scope The present document defines the mapping rules for W3CXML Schema (as defined in 7 to 9) to TTCN-3 as defined in ETSI ES 201 873-1 1 to enable testing of XML-based systems, interfaces and protocols. 2 References 2.1 Normative references References are either specific (identifi

36、ed by date of publication and/or edition number or version number) or non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the referenced document (including any amendments) applies. Referenced documents which are not found to be p

37、ublicly available in the expected location might be found at https:/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 applicatio

38、n of the present document. 1 ETSI ES 201 873-1: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language“. 2 ETSI ES 201 873-7: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 7: Us

39、ing ASN.1 with TTCN-3“. 3 Recommendation ITU-T X.680: “Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation“. 4 Recommendation ITU-T X.694: “Information technology - ASN.1 encoding rules: Mapping W3C XML schema definitions into ASN.1“. 5 World Wide Web Conso

40、rtium W3C Recommendation: “Extensible Markup Language (XML) 1.1“. NOTE: Available at http:/www.w3.org/TR/xml11. 6 World Wide Web Consortium W3C Recommendation (2006): “Namespaces in XML 1.0“. NOTE: Available at http:/www.w3.org/TR/REC-xml-names/. 7 World Wide Web Consortium W3C Recommendation (2004)

41、: “XML Schema Part 0: Primer“. NOTE: Available at http:/www.w3.org/TR/xmlschema-0. 8 World Wide Web Consortium W3C Recommendation (2004): “XML Schema Part 1: Structures“. NOTE: Available at http:/www.w3.org/TR/xmlschema-1. 9 World Wide Web Consortium W3C Recommendation (2004): “XML Schema Part 2: Da

42、tatypes“. NOTE: Available at http:/www.w3.org/TR/xmlschema-2. ETSI ETSI ES 201 873-9 V4.8.1 (2017-05)9 2.2 Informative references References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific references, only the cited versio

43、n applies. For non-specific references, the latest version of the referenced document (including any amendments) applies. 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 n

44、ot necessary for the application of the present document but they assist the user with regard to a particular subject area. i.1 World Wide Web Consortium W3C Recommendation: “SOAP version 1.2, Part 1: Messaging Framework“. NOTE: Available at http:/www.w3.org/TR/soap12. i.2 ISO 8601 (2004): “Data ele

45、ments and interchange formats - Information interchange - Representation of dates and times“. i.3 Void. i.4 ISO/IEC 10646 (2012): “Information technology - Universal Coded Character Set (UCS)“. i.5 ETSI ES 202 781: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation v

46、ersion 3; TTCN-3 Language Extensions: Configuration and Deployment Support“. i.6 ETSI ES 202 782: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: TTCN-3 Performance and Real Time Testing“. i.7 ETSI ES 202 784: “Methods for Te

47、sting and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Advanced Parameterization“. i.8 ETSI ES 202 785: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Behaviour Types“. i.

48、9 ETSI ES 202 786: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Support of interfaces with continuous signals“. i.10 ETSI ES 202 789: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation vers

49、ion 3; TTCN-3 Language Extensions: Extended TRI“. i.11 ETSI ES 201 873-7: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 7: Using ASN.1 with TTCN-3“. i.12 ETSI ES 201 873-8: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 8: The IDL to TTCN-3 Mapping “. i.13 ETSI ES 201 873-11: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 11: Using JSON with TTCN-3“. ETSI ETSI

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