欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PDF文档下载
    分享到微信 分享到微博 分享到QQ空间

    ETSI ES 201 873-9-2016 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 9 Using XML schema with TTCN-3 (V4 7 1)《测试方法和规范(MTS) 第3版测试和测.pdf

    • 资源ID:730793       资源大小:676.55KB        全文页数:144页
    • 资源格式: PDF        下载积分:10000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要10000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    ETSI ES 201 873-9-2016 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 9 Using XML schema with TTCN-3 (V4 7 1)《测试方法和规范(MTS) 第3版测试和测.pdf

    1、 ETSI ES 201 873-9 V4.7.1 (2016-07) 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.7.1 (2016-07)2 Reference RES/MTS-201873-9 ed471XSD Keywords language, testing, TTCN-3, XML ET

    2、SI 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: http

    3、:/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 perceived d

    4、ifference 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 or

    5、 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/CommiteeSupp

    6、ortStaff.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 authoriz

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

    8、e Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI ES 201 873-9 V4.7.1 (2016-07)3 Contents Intellectual Property Rights 7g3Foreword . 7g3Modal verbs termi

    9、nology 7g31 Scope 8g32 References 8g32.1 Normative references 8g32.2 Informative references . 9g33 Definitions and abbreviations . 9g33.1 Definitions . 9g33.2 Abbreviations 10g34 Introduction 10g35 Mapping XML Schemas 11g35.0 General 11g35.1 Namespaces and document references 12g35.1.1 Namespaces .

    10、12g35.1.2 Includes 13g35.1.3 Imports. 14g35.1.4 Attributes of the XSD schema element 14g35.1.5 The control namespace 15g35.2 Name conversion . 16g35.2.1 General . 16g35.2.2 Name conversion rules . 16g35.2.3 Order of the mapping . 21g35.3 Mapping of XSD schema components 22g35.4 Unsupported features

    11、. 22g35.5 Conformance and compatibility 23g36 Built-in data types 23g36.0 General 23g36.1 Mapping of facets 23g36.1.0 General. 23g36.1.1 Length 24g36.1.2 MinLength . 24g36.1.3 MaxLength . 25g36.1.4 Pattern 25g36.1.5 Enumeration . 26g36.1.6 WhiteSpace 29g36.1.7 MinInclusive 29g36.1.8 MaxInclusive . 3

    12、1g36.1.9 MinExclusive. 32g36.1.10 MaxExclusive 33g36.1.11 Total digits . 34g36.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.3 Token . 37g36.2.4 Name 37g36.2.5 NMTOKEN . 37g36.2.6 NCName 3

    13、7g36.2.7 ID . 37g36.2.8 IDREF 38g3ETSI ETSI ES 201 873-9 V4.7.1 (2016-07)4 6.2.9 ENTITY . 38g36.2.10 Hexadecimal binary . 38g36.2.11 Base 64 binary . 38g36.2.12 Any URI 38g36.2.13 Language . 39g36.2.14 NOTATION . 39g36.3 Integer types 39g36.3.0 General. 39g36.3.1 Integer 39g36.3.2 Positive integer 3

    14、9g36.3.3 Non-positive integer 39g36.3.4 Negative integer . 39g36.3.5 Non-negative integer 39g36.3.6 Long . 40g36.3.7 Unsigned long 40g36.3.8 Int . 40g36.3.9 Unsigned int . 40g36.3.10 Short. 40g36.3.11 Unsigned Short 40g36.3.12 Byte 41g36.3.13 Unsigned byte 41g36.4 Float types . 41g36.4.0 General. 41

    15、g36.4.1 Decimal 41g36.4.2 Float . 41g36.4.3 Double . 41g36.5 Time types . 41g36.5.0 General. 41g36.5.1 Duration . 42g36.5.2 Date and time . 42g36.5.3 Time . 42g36.5.4 Date 43g36.5.5 Gregorian year and month . 43g36.5.6 Gregorian year . 43g36.5.7 Gregorian month and day 43g36.5.8 Gregorian day 43g36.

    16、5.9 Gregorian month 43g36.6 Sequence types 44g36.6.0 General . 44g36.6.1 NMTOKENS . 44g36.6.2 IDREFS . 44g36.6.3 ENTITIES 44g36.6.4 QName . 44g36.7 Boolean type 45g36.8 AnyType and anySimpleType types 45g37 Mapping XSD components 48g37.0 General 48g37.1 Attributes of XSD component declarations . 48g

    17、37.1.0 General . 48g37.1.1 Id 49g37.1.2 Ref . 49g37.1.3 Name 49g37.1.4 MinOccurs and maxOccurs 49g37.1.5 Default and Fixed 54g37.1.6 Form. 55g37.1.7 Type . 55g37.1.8 Mixed . 56g37.1.9 Abstract 56g37.1.10 Block and blockDefault . 56g37.1.11 Nillable 56g37.1.12 Use . 58g3ETSI ETSI ES 201 873-9 V4.7.1

    18、(2016-07)5 7.1.13 Substitution group 58g37.1.14 Final . 59g37.1.15 Process contents . 59g37.2 Schema component 59g37.3 Element component . 59g37.4 Attribute and attribute group definitions . 60g37.4.1 Attribute element definitions . 60g37.4.2 Attribute group definitions . 61g37.5 SimpleType componen

    19、ts . 61g37.5.0 General . 61g37.5.1 Derivation by restriction 61g37.5.2 Derivation by list . 63g37.5.3 Derivation by union . 64g37.6 ComplexType components 67g37.6.0 General . 67g37.6.1 ComplexType containing simple content 68g37.6.1.0 General . 68g37.6.1.1 Extending simple content . 68g37.6.1.2 Rest

    20、ricting simple content 70g37.6.2 ComplexType containing complex content . 71g37.6.2.0 General . 71g37.6.2.1 Complex content derived by extension 71g37.6.2.2 Complex content derived by restriction . 77g37.6.3 Referencing group components . 79g37.6.4 All content . 82g37.6.5 Choice content . 84g37.6.5.

    21、0 General. 84g37.6.5.1 Choice with nested elements 84g37.6.5.2 Choice with nested group . 84g37.6.5.3 Choice with nested choice 85g37.6.5.4 Choice with nested sequence 86g37.6.5.5 Choice with nested any 87g37.6.6 Sequence content . 87g37.6.6.0 General . 87g37.6.6.1 Sequence with nested element conte

    22、nt . 87g37.6.6.2 Sequence with nested group content 88g37.6.6.3 Sequence with nested choice content . 88g37.6.6.4 Sequence with nested sequence content . 89g37.6.6.5 Sequence with nested any content 89g37.6.6.6 Effect of the minOccurs and maxOccurs attributes on the mapping 90g37.6.7 Attribute defin

    23、itions, attribute and attributeGroup references . 92g37.6.8 Mixed content 94g37.7 Any and anyAttribute 97g37.7.0 General . 97g37.7.1 The any element . 97g37.7.2 The anyAttribute element 99g37.8 Annotation . 102g37.9 Group components 102g37.10 Identity-constraint definition schema components 103g38 S

    24、ubstitutions . 103g38.0 General 103g38.1 Element substitution 104g38.1.1 Head elements of substitution groups 104g38.1.2 Substitution group members 109g38.2 Type substitution . 109g3Annex A (normative): TTCN-3 module XSD 115g3Annex B (normative): Encoding instructions 119g3B.0 General . 119g3ETSI ET

    25、SI ES 201 873-9 V4.7.1 (2016-07)6 B.1 General . 119g3B.2 The XML encode attribute . 120g3B.3 Encoding instructions . 120g3B.3.1 XSD data type identification . 120g3B.3.2 Any element 120g3B.3.3 Any attributes 121g3B.3.4 Attribute 122g3B.3.5 AttributeFormQualified . 122g3B.3.6 Control namespace identi

    26、fication 123g3B.3.7 Default for empty 123g3B.3.8 Element . 123g3B.3.9 ElementFormQualified 123g3B.3.10 Embed values 124g3B.3.11 Form 124g3B.3.12 List. 125g3B.3.13 Name . 125g3B.3.14 Namespace identification 126g3B.3.15 Nillable elements . 126g3B.3.16 Use union. 126g3B.3.17 Text . 127g3B.3.18 Use num

    27、ber . 127g3B.3.19 Use order . 128g3B.3.20 Whitespace control 128g3B.3.21 Untagged elements 128g3B.3.22 Abstract . 129g3B.3.23 Block . 130g3B.3.24 Use type . 130g3B.3.25 Process the content of any elements and attributes . 131g3B.3.26 Transparent 131g3B.3.27 No Type . 132g3B.3.28 Number of fraction d

    28、igits 132g3B.3.29 XML header control 133g3Annex C (informative): Examples . 134g3C.0 General . 134g3C.1 Example 1 . 134g3C.2 Example 2 . 135g3C.3 Example 3 . 137g3Annex D (informative): Deprecated features . 141g3D.1 Using the anyElement encoding instruction to record of fields . 141g3D.2 Using the

    29、XML language identifier string 141g3D.3 Id. 142g3Annex E (informative): Bibliography . 143g3History 144g3ETSI ETSI ES 201 873-9 V4.7.1 (2016-07)7 Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to

    30、 these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. La

    31、test updates are available on the ETSI Web server (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, including 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

    32、 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 Specification (MTS). The present document is part 9 of a multi-part deliverable. Full details of the entire seri

    33、es can be found in part-1 1. 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 provisi

    34、ons). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. ETSI ETSI ES 201 873-9 V4.7.1 (2016-07)8 1 Scope The present document defines the mapping rules for W3C Schema (as defined in 7 to 9) to TTCN-3 as defined in ETSI ES 201 873-1 1 to enable testing of

    35、 XML-based systems, interfaces and protocols. 2 References 2.1 Normative 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 version applies. For non-specific references, the la

    36、test version of the referenced document (including any amendments) applies. Referenced documents which are not found to be publicly available in the expected location might be found at http:/docbox.etsi.org/Reference. NOTE: While any hyperlinks included in this clause were valid at the time of publi

    37、cation, ETSI cannot guarantee their long term validity. The following referenced documents are necessary for the application 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 E

    38、TSI 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“. 3 Recommendation ITU-T X.680: “Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation“. 4 Recommendation ITU-T X.

    39、694: “Information technology - ASN.1 encoding rules: Mapping W3C XML schema definitions into ASN.1“. 5 World Wide Web Consortium 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): “Namespace

    40、s in XML 1.0“. NOTE: Available at http:/www.w3.org/TR/REC-xml-names/. 7 World Wide Web Consortium W3C Recommendation (2004): “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:

    41、Available at http:/www.w3.org/TR/xmlschema-1. 9 World Wide Web Consortium W3C Recommendation (2004): “XML Schema Part 2: Datatypes“. NOTE: Available at http:/www.w3.org/TR/xmlschema-2. ETSI ETSI ES 201 873-9 V4.7.1 (2016-07)9 2.2 Informative references References are either specific (identified by d

    42、ate 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. NOTE: While any hyperlinks included in this clause were

    43、 valid at the time of publication, ETSI cannot guarantee 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 World Wide Web Consortium W3C Recommendation: “SO

    44、AP version 1.2, Part 1: Messaging Framework“. NOTE: Available at http:/www.w3.org/TR/soap12. i.2 ISO 8601 (2004): “Data elements and interchange formats - Information interchange - Representation of dates and times“. i.3 ETSI ES 202 781: “Methods for Testing and Specification (MTS); The Testing and

    45、Test Control Notation version 3; TTCN-3 Language Extensions: Configuration and Deployment Support“. i.4 Void. i.5 Void. i.6 Void. i.7 Void. i.8 ETSI ES 202 789: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Extended TRI“. i

    46、.9 ISO/IEC 10646 (2012): “Information technology - Universal Coded Character Set (UCS)“. i.10 ISO/IEC 646: “Information technology - ISO 7-bit coded character set for information interchange“. 3 Definitions and abbreviations 3.1 Definitions For the purposes of the present document, the terms and def

    47、initions given in ETSI ES 201 873-1 1, Recommendation ITU-T X.694 4 and the following apply: alphabetical order: way of sorting the XSD names based on the code positions of their characters according to ISO/IEC 10646 i.9 NOTE: During this sorting the group, plane, row and cell octets is considered,

    48、in this order. Names, starting with a character with a smaller code position take precedence Among the names with identical first character, names containing no more characters take precedence over all other names. Otherwise, names with the second character of smaller code position take precedence,

    49、etc. This algorithm is to be continued recursively until all names are sorted into a sequential order. ETSI ETSI ES 201 873-9 V4.7.1 (2016-07)10 schema component: generic XSD term for the building blocks that comprise the abstract data model of the schema NOTE: The primary components, which may (type definitions) or obliged to (element and attribute declarations) have names are as follows: simple type definitions, complex type definitions, attribute declarations and element declarations. The secondary components, which


    注意事项

    本文(ETSI ES 201 873-9-2016 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 9 Using XML schema with TTCN-3 (V4 7 1)《测试方法和规范(MTS) 第3版测试和测.pdf)为本站会员(livefirmly316)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

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

    收起
    展开