Methods for Testing and Specification (MTS) - The Testing and Test Control Notation version 3 - Part 9: Using XML schema with TTCN-3

The present document defines the mapping rules for W3C® XML 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.

Metode za preskušanje in specificiranje (MTS) - 3. različica zapisa preskušanja in krmiljenja preskusov - 9. del: Uporaba sheme XML v TTCN-3

General Information

Status
Published
Publication Date
25-May-2020
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
25-May-2020
Due Date
30-Jul-2020
Completion Date
26-May-2020

Buy Standard

Standard
ETSI ES 201 873-9 V4.11.1 (2020-05) - Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 9: Using XML schema with TTCN-3
English language
154 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ETSI ES 201 873-9 V4.11.1 (2020-02) - Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 9: Using XML schema with TTCN-3
English language
154 pages
sale 15% off
Preview
sale 15% off
Preview
Standardization document
ES 201 873-9 V4.11.1:2020
English language
154 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

ETSI ES 201 873-9 V4.11.1 (2020-05)






ETSI STANDARD
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
Part 9: Using XML schema with TTCN-3

---------------------- Page: 1 ----------------------
2 ETSI ES 201 873-9 V4.11.1 (2020-05)



Reference
RES/MTS-201873-9v4.11.1
Keywords
language, testing, TTCN-3, XML
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 enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88

Important notice
The present document can be downloaded from:
http://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 difference in contents between such versions and/or in print, the prevailing version of an ETSI
deliverable is the one made publicly available in PDF format at www.etsi.org/deliver.
Users of the present document should be aware that the document may be subject to revision 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/CommiteeSupportStaff.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 authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.

© ETSI 2020.
All rights reserved.

DECT™, PLUGTESTS™, UMTS™ and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.

3GPP™ and LTE™ are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M™ logo is a trademark of ETSI registered for the benefit of its Members and
of the oneM2M Partners.
®
GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI

---------------------- Page: 2 ----------------------
3 ETSI ES 201 873-9 V4.11.1 (2020-05)
Contents
Intellectual Property Rights . 7
Foreword . 7
Modal verbs terminology . 7
1 Scope . 8
2 References . 8
2.1 Normative references . 8
2.2 Informative references . 9
3 Definition of terms, symbols and abbreviations . 10
3.1 Terms . 10
3.2 Symbols . 10
3.3 Abbreviations . 11
4 Introduction . 11
5 Mapping XML Schemas . 12
5.0 Approach . 12
5.1 Namespaces and document references . 13
5.1.1 Namespaces . 13
5.1.2 Includes . 14
5.1.3 Imports . 14
5.1.4 Attributes of the XSD schema element . 15
5.1.5 The control namespace . 16
5.2 Name conversion . 16
5.2.1 General . 16
5.2.2 Name conversion rules . 17
5.2.3 Order of the mapping . 22
5.3 Mapping of XSD schema components . 23
5.4 Unsupported features . 23
5.5 Conformance and compatibility . 24
6 Built-in data types . 24
6.0 General . 24
6.1 Mapping of facets . 24
6.1.0 General . 24
6.1.1 Length . 25
6.1.2 MinLength . 26
6.1.3 MaxLength . 26
6.1.4 Pattern . 26
6.1.5 Enumeration . 28
6.1.6 WhiteSpace . 30
6.1.7 MinInclusive . 30
6.1.8 MaxInclusive . 32
6.1.9 MinExclusive . 33
6.1.10 MaxExclusive . 34
6.1.11 Total digits . 36
6.1.12 Fraction digits . 36
6.1.13 Not specifically mapped facets . 37
6.2 String types . 37
6.2.0 General . 37
6.2.1 String . 38
6.2.2 Normalized string . 38
6.2.3 Token . 38
6.2.4 Name . 38
6.2.5 NMTOKEN . 38
6.2.6 NCName . 39
6.2.7 ID . 39
ETSI

---------------------- Page: 3 ----------------------
4 ETSI ES 201 873-9 V4.11.1 (2020-05)
6.2.8 IDREF . 39
6.2.9 ENTITY . 39
6.2.10 Hexadecimal binary . 39
6.2.11 Base 64 binary . 39
6.2.12 Any URI . 40
6.2.13 Language . 40
6.2.14 NOTATION . 40
6.3 Integer types . 40
6.3.0 General . 40
6.3.1 Integer . 40
6.3.2 Positive integer . 40
6.3.3 Non-positive integer . 41
6.3.4 Negative integer . 41
6.3.5 Non-negative integer. 41
6.3.6 Long . 41
6.3.7 Unsigned long . 41
6.3.8 Int . 41
6.3.9 Unsigned int . 42
6.3.10 Short. 42
6.3.11 Unsigned Short . 42
6.3.12 Byte . 42
6.3.13 Unsigned byte . 42
6.4 Float types . 42
6.4.0 General . 42
6.4.1 Decimal . 43
6.4.2 Float . 43
6.4.3 Double . 43
6.5 Time types . 43
6.5.0 General . 43
6.5.1 Duration . 44
6.5.2 Date and time . 44
6.5.3 Time . 44
6.5.4 Date . 44
6.5.5 Gregorian year and month . 44
6.5.6 Gregorian year . 45
6.5.7 Gregorian month and day . 45
6.5.8 Gregorian day . 45
6.5.9 Gregorian month . 45
6.6 Sequence types . 45
6.6.0 General . 45
6.6.1 NMTOKENS . 45
6.6.2 IDREFS . 46
6.6.3 ENTITIES . 46
6.6.4 QName . 46
6.7 Boolean type . 47
6.8 AnyType and anySimpleType types. 47
7 Mapping XSD components . 52
7.0 General . 52
7.1 Attributes of XSD component declarations . 52
7.1.0 General . 52
7.1.1 Id . 53
7.1.2 Ref . 53
7.1.3 Name . 53
7.1.4 MinOccurs and maxOccurs. 54
7.1.5 Default and Fixed . 59
7.1.6 Form. 59
7.1.7 Type . 60
7.1.8 Mixed . 60
7.1.9 Abstract . 60
7.1.10 Block and blockDefault . 61
7.1.11 Nillable . 61
ETSI

---------------------- Page: 4 ----------------------
5 ETSI ES 201 873-9 V4.11.1 (2020-05)
7.1.12 Use . 63
7.1.13 Substitution group . 63
7.1.14 Final . 63
7.1.15 Process contents . 63
7.2 Schema component. 64
7.3 Element component . 64
7.4 Attribute and attribute group definitions . 65
7.4.1 Attribute element definitions . 65
7.4.2 Attribute group definitions . 66
7.5 SimpleType components . 66
7.5.0 General . 66
7.5.1 Derivation by restriction . 66
7.5.2 Derivation by list . 67
7.5.3 Derivation by union . 69
7.6 ComplexType components . 72
7.6.0 General . 72
7.6.1 ComplexType containing simple content . 73
7.6.1.0 General . 73
7.6.1.1 Extending simple content . 73
7.6.1.2 Restricting simple content . 74
7.6.2 ComplexType containing complex content . 76
7.6.2.0 General . 76
7.6.2.1 Complex content derived by extension . 76
7.6.2.2 Complex content derived by restriction . 82
7.6.3 Referencing group components . 84
7.6.4 All content . 87
7.6.5 Choice content . 88
7.6.5.0 General . 88
7.6.5.1 Choice with nested elements . 89
7.6.5.2 Choice with nested group . 89
7.6.5.3 Choice with nested choice . 90
7.6.5.4 Choice with nested sequence. 90
7.6.5.5 Choice with nested any . 91
7.6.6 Sequence content . 92
7.6.6.0 General . 92
7.6.6.1 Sequence with nested element content . 92
7.6.6.2 Sequence with nested group content . 92
7.6.6.3 Sequence with nested choice content . 93
7.6.6.4 Sequence with nested sequence content . 93
7.6.6.5 Sequence with nested any content . 94
7.6.6.6 Effect of the minOccurs and maxOccurs attributes on the mapping . 94
7.6.7 Attribute definitions, attribute and attributeGroup references . 96
7.6.8 Mixed content . 98
7.7 Any and anyAttribute . 101
7.7.0 General . 101
7.7.1 The any element . 101
7.7.2 The anyAttribute element . 105
7.8 Annotation . 110
7.9 Group components . 110
7.10 Identity-constraint definition schema components . 111
8 Substitutions . 111
8.0 General . 111
8.1 Element substitution . 112
8.1.1 Head elements of substitution groups . 112
8.1.2 Substitution group members . 117
8.2 Type substitution . 117
Annex A (normative): TTCN-3 module XSD . 124
Annex B (normative): Encoding instructions . 128
B.0 General . 128
ETSI

---------------------- Page: 5 ----------------------
6 ETSI ES 201 873-9 V4.11.1 (2020-05)
B.1 General . 128
B.2 Basic XML encode and variant attribute rules . 129
B.2.1 The XML encode attribute .
...

Final draft ETSI ES 201 873-9 V4.11.1 (2020-02)






ETSI STANDARD
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
Part 9: Using XML schema with TTCN-3

---------------------- Page: 1 ----------------------
2 Final draft ETSI ES 201 873-9 V4.11.1 (2020-02)



Reference
RES/MTS-201873-9v4.11.1
Keywords
language, testing, TTCN-3, XML
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 enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88

Important notice
The present document can be downloaded from:
http://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 difference in contents between such versions and/or in print, the prevailing version of an ETSI
deliverable is the one made publicly available in PDF format at www.etsi.org/deliver.
Users of the present document should be aware that the document may be subject to revision 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/CommiteeSupportStaff.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 authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.

© ETSI 2020.
All rights reserved.

DECT™, PLUGTESTS™, UMTS™ and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.

3GPP™ and LTE™ are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M™ logo is a trademark of ETSI registered for the benefit of its Members and
of the oneM2M Partners.
®
GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI

---------------------- Page: 2 ----------------------
3 Final draft ETSI ES 201 873-9 V4.11.1 (2020-02)
Contents
Intellectual Property Rights . 7
Foreword . 7
Modal verbs terminology . 7
1 Scope . 8
2 References . 8
2.1 Normative references . 8
2.2 Informative references . 9
3 Definition of terms, symbols and abbreviations . 10
3.1 Terms . 10
3.2 Symbols . 10
3.3 Abbreviations . 11
4 Introduction . 11
5 Mapping XML Schemas . 12
5.0 Approach . 12
5.1 Namespaces and document references . 13
5.1.1 Namespaces . 13
5.1.2 Includes . 14
5.1.3 Imports . 14
5.1.4 Attributes of the XSD schema element . 15
5.1.5 The control namespace . 16
5.2 Name conversion . 16
5.2.1 General . 16
5.2.2 Name conversion rules . 17
5.2.3 Order of the mapping . 22
5.3 Mapping of XSD schema components . 23
5.4 Unsupported features . 23
5.5 Conformance and compatibility . 24
6 Built-in data types . 24
6.0 General . 24
6.1 Mapping of facets . 24
6.1.0 General . 24
6.1.1 Length . 25
6.1.2 MinLength . 26
6.1.3 MaxLength . 26
6.1.4 Pattern . 27
6.1.5 Enumeration . 28
6.1.6 WhiteSpace . 30
6.1.7 MinInclusive . 30
6.1.8 MaxInclusive . 32
6.1.9 MinExclusive . 33
6.1.10 MaxExclusive . 34
6.1.11 Total digits . 36
6.1.12 Fraction digits . 36
6.1.13 Not specifically mapped facets . 37
6.2 String types . 37
6.2.0 General . 37
6.2.1 String . 38
6.2.2 Normalized string . 38
6.2.3 Token . 38
6.2.4 Name . 38
6.2.5 NMTOKEN . 38
6.2.6 NCName . 39
6.2.7 ID . 39
ETSI

---------------------- Page: 3 ----------------------
4 Final draft ETSI ES 201 873-9 V4.11.1 (2020-02)
6.2.8 IDREF . 39
6.2.9 ENTITY . 39
6.2.10 Hexadecimal binary . 39
6.2.11 Base 64 binary . 39
6.2.12 Any URI . 40
6.2.13 Language . 40
6.2.14 NOTATION . 40
6.3 Integer types . 40
6.3.0 General . 40
6.3.1 Integer . 40
6.3.2 Positive integer . 40
6.3.3 Non-positive integer . 41
6.3.4 Negative integer . 41
6.3.5 Non-negative integer. 41
6.3.6 Long . 41
6.3.7 Unsigned long . 41
6.3.8 Int . 41
6.3.9 Unsigned int . 42
6.3.10 Short. 42
6.3.11 Unsigned Short . 42
6.3.12 Byte . 42
6.3.13 Unsigned byte . 42
6.4 Float types . 42
6.4.0 General . 42
6.4.1 Decimal . 43
6.4.2 Float . 43
6.4.3 Double . 43
6.5 Time types . 43
6.5.0 General . 43
6.5.1 Duration . 44
6.5.2 Date and time . 44
6.5.3 Time . 44
6.5.4 Date . 44
6.5.5 Gregorian year and month . 44
6.5.6 Gregorian year . 45
6.5.7 Gregorian month and day . 45
6.5.8 Gregorian day . 45
6.5.9 Gregorian month . 45
6.6 Sequence types . 45
6.6.0 General . 45
6.6.1 NMTOKENS . 45
6.6.2 IDREFS . 46
6.6.3 ENTITIES . 46
6.6.4 QName . 46
6.7 Boolean type . 47
6.8 AnyType and anySimpleType types. 47
7 Mapping XSD components . 52
7.0 General . 52
7.1 Attributes of XSD component declarations . 52
7.1.0 General . 52
7.1.1 Id . 53
7.1.2 Ref . 53
7.1.3 Name . 53
7.1.4 MinOccurs and maxOccurs. 54
7.1.5 Default and Fixed . 59
7.1.6 Form. 59
7.1.7 Type . 60
7.1.8 Mixed . 60
7.1.9 Abstract . 60
7.1.10 Block and blockDefault . 61
7.1.11 Nillable . 61
ETSI

---------------------- Page: 4 ----------------------
5 Final draft ETSI ES 201 873-9 V4.11.1 (2020-02)
7.1.12 Use . 63
7.1.13 Substitution group . 63
7.1.14 Final . 63
7.1.15 Process contents . 63
7.2 Schema component. 64
7.3 Element component . 64
7.4 Attribute and attribute group definitions . 65
7.4.1 Attribute element definitions . 65
7.4.2 Attribute group definitions . 66
7.5 SimpleType components . 66
7.5.0 General . 66
7.5.1 Derivation by restriction . 66
7.5.2 Derivation by list . 67
7.5.3 Derivation by union . 69
7.6 ComplexType components . 72
7.6.0 General . 72
7.6.1 ComplexType containing simple content . 73
7.6.1.0 General . 73
7.6.1.1 Extending simple content . 73
7.6.1.2 Restricting simple content . 74
7.6.2 ComplexType containing complex content . 76
7.6.2.0 General . 76
7.6.2.1 Complex content derived by extension . 76
7.6.2.2 Complex content derived by restriction . 82
7.6.3 Referencing group components . 84
7.6.4 All content . 87
7.6.5 Choice content . 88
7.6.5.0 General . 88
7.6.5.1 Choice with nested elements . 89
7.6.5.2 Choice with nested group . 89
7.6.5.3 Choice with nested choice . 90
7.6.5.4 Choice with nested sequence. 90
7.6.5.5 Choice with nested any . 91
7.6.6 Sequence content . 92
7.6.6.0 General . 92
7.6.6.1 Sequence with nested element content . 92
7.6.6.2 Sequence with nested group content . 92
7.6.6.3 Sequence with nested choice content . 93
7.6.6.4 Sequence with nested sequence content . 93
7.6.6.5 Sequence with nested any content . 94
7.6.6.6 Effect of the minOccurs and maxOccurs attributes on the mapping . 94
7.6.7 Attribute definitions, attribute and attributeGroup references . 96
7.6.8 Mixed content . 98
7.7 Any and anyAttribute . 101
7.7.0 General . 101
7.7.1 The any element . 101
7.7.2 The anyAttribute element . 105
7.8 Annotation . 110
7.9 Group components . 110
7.10 Identity-constraint definition schema components . 111
8 Substitutions . 111
8.0 General . 111
8.1 Element substitution . 112
8.1.1 Head elements of substitution groups . 112
8.1.2 Substitution group members . 117
8.2 Type substitution . 117
Annex A (normative): TTCN-3 module XSD . 124
Annex B (normative): Encoding instructions . 128
B.0 General . 128
ETSI

---------------------- Page: 5 ----------------------
6 Final draft ETSI ES 201 873-9 V4.11.1 (2020-02)
B.1 General . 128
B.2 Basic XML encode and variant attribute rules .
...

SLOVENSKI STANDARD
SIST ES 201 873-9 V4.11.1:2020
01-julij-2020
Metode za preskušanje in specificiranje (MTS) - 3. različica zapisa preskušanja in
krmiljenja preskusov - 9. del: Uporaba sheme XML v TTCN-3
Methods for Testing and Specification (MTS) - The Testing and Test Control Notation
version 3 - Part 9: Using XML schema with TTCN-3
Ta slovenski standard je istoveten z: ETSI ES 201 873-9 V4.11.1 (2020-05)
ICS:
33.040.01 Telekomunikacijski sistemi na Telecommunication systems
splošno in general
35.060 Jeziki, ki se uporabljajo v Languages used in
informacijski tehniki in information technology
tehnologiji
SIST ES 201 873-9 V4.11.1:2020 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
SIST ES 201 873-9 V4.11.1:2020

---------------------- Page: 2 ----------------------
SIST ES 201 873-9 V4.11.1:2020
ETSI ES 201 873-9 V4.11.1 (2020-05)






ETSI STANDARD
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
Part 9: Using XML schema with TTCN-3

---------------------- Page: 3 ----------------------
SIST ES 201 873-9 V4.11.1:2020
 2 ETSI ES 201 873-9 V4.11.1 (2020-05)



Reference
RES/MTS-201873-9v4.11.1
Keywords
language, testing, TTCN-3, XML
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 enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88

Important notice
The present document can be downloaded from:
http://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 difference in contents between such versions and/or in print, the prevailing version of an ETSI
deliverable is the one made publicly available in PDF format at www.etsi.org/deliver.
Users of the present document should be aware that the document may be subject to revision 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/CommiteeSupportStaff.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 authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.

© ETSI 2020.
All rights reserved.

DECT™, PLUGTESTS™, UMTS™ and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.

3GPP™ and LTE™ are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M™ logo is a trademark of ETSI registered for the benefit of its Members and
of the oneM2M Partners.
®
GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI

---------------------- Page: 4 ----------------------
SIST ES 201 873-9 V4.11.1:2020
 3 ETSI ES 201 873-9 V4.11.1 (2020-05)
Contents
Intellectual Property Rights . 7
Foreword . 7
Modal verbs terminology . 7
1 Scope . 8
2 References . 8
2.1 Normative references . 8
2.2 Informative references . 9
3 Definition of terms, symbols and abbreviations . 10
3.1 Terms . 10
3.2 Symbols . 10
3.3 Abbreviations . 11
4 Introduction . 11
5 Mapping XML Schemas . 12
5.0 Approach . 12
5.1 Namespaces and document references . 13
5.1.1 Namespaces . 13
5.1.2 Includes . 14
5.1.3 Imports . 14
5.1.4 Attributes of the XSD schema element . 15
5.1.5 The control namespace . 16
5.2 Name conversion . 16
5.2.1 General . 16
5.2.2 Name conversion rules . 17
5.2.3 Order of the mapping . 22
5.3 Mapping of XSD schema components . 23
5.4 Unsupported features . 23
5.5 Conformance and compatibility . 24
6 Built-in data types . 24
6.0 General . 24
6.1 Mapping of facets . 24
6.1.0 General . 24
6.1.1 Length . 25
6.1.2 MinLength . 26
6.1.3 MaxLength . 26
6.1.4 Pattern . 26
6.1.5 Enumeration . 28
6.1.6 WhiteSpace . 30
6.1.7 MinInclusive . 30
6.1.8 MaxInclusive . 32
6.1.9 MinExclusive . 33
6.1.10 MaxExclusive . 34
6.1.11 Total digits . 36
6.1.12 Fraction digits . 36
6.1.13 Not specifically mapped facets . 37
6.2 String types . 37
6.2.0 General . 37
6.2.1 String . 38
6.2.2 Normalized string . 38
6.2.3 Token . 38
6.2.4 Name . 38
6.2.5 NMTOKEN . 38
6.2.6 NCName . 39
6.2.7 ID . 39
ETSI

---------------------- Page: 5 ----------------------
SIST ES 201 873-9 V4.11.1:2020
 4 ETSI ES 201 873-9 V4.11.1 (2020-05)
6.2.8 IDREF . 39
6.2.9 ENTITY . 39
6.2.10 Hexadecimal binary . 39
6.2.11 Base 64 binary . 39
6.2.12 Any URI . 40
6.2.13 Language . 40
6.2.14 NOTATION . 40
6.3 Integer types . 40
6.3.0 General . 40
6.3.1 Integer . 40
6.3.2 Positive integer . 40
6.3.3 Non-positive integer . 41
6.3.4 Negative integer . 41
6.3.5 Non-negative integer. 41
6.3.6 Long . 41
6.3.7 Unsigned long . 41
6.3.8 Int . 41
6.3.9 Unsigned int . 42
6.3.10 Short. 42
6.3.11 Unsigned Short . 42
6.3.12 Byte . 42
6.3.13 Unsigned byte . 42
6.4 Float types . 42
6.4.0 General . 42
6.4.1 Decimal . 43
6.4.2 Float . 43
6.4.3 Double . 43
6.5 Time types . 43
6.5.0 General . 43
6.5.1 Duration . 44
6.5.2 Date and time . 44
6.5.3 Time . 44
6.5.4 Date . 44
6.5.5 Gregorian year and month . 44
6.5.6 Gregorian year . 45
6.5.7 Gregorian month and day . 45
6.5.8 Gregorian day . 45
6.5.9 Gregorian month . 45
6.6 Sequence types . 45
6.6.0 General . 45
6.6.1 NMTOKENS . 45
6.6.2 IDREFS . 46
6.6.3 ENTITIES . 46
6.6.4 QName . 46
6.7 Boolean type . 47
6.8 AnyType and anySimpleType types. 47
7 Mapping XSD components . 52
7.0 General . 52
7.1 Attributes of XSD component declarations . 52
7.1.0 General . 52
7.1.1 Id . 53
7.1.2 Ref . 53
7.1.3 Name . 53
7.1.4 MinOccurs and maxOccurs. 54
7.1.5 Default and Fixed . 59
7.1.6 Form. 59
7.1.7 Type . 60
7.1.8 Mixed . 60
7.1.9 Abstract . 60
7.1.10 Block and blockDefault . 61
7.1.11 Nillable . 61
ETSI

---------------------- Page: 6 ----------------------
SIST ES 201 873-9 V4.11.1:2020
 5 ETSI ES 201 873-9 V4.11.1 (2020-05)
7.1.12 Use . 63
7.1.13 Substitution group . 63
7.1.14 Final . 63
7.1.15 Process contents . 63
7.2 Schema component. 64
7.3 Element component . 64
7.4 Attribute and attribute group definitions . 65
7.4.1 Attribute element definitions . 65
7.4.2 Attribute group definitions . 66
7.5 SimpleType components . 66
7.5.0 General . 66
7.5.1 Derivation by restriction . 66
7.5.2 Derivation by list . 67
7.5.3 Derivation by union . 69
7.6 ComplexType components . 72
7.6.0 General . 72
7.6.1 ComplexType containing simple content . 73
7.6.1.0 General . 73
7.6.1.1 Extending simple content . 73
7.6.1.2 Restricting simple content . 74
7.6.2 ComplexType containing complex content . 76
7.6.2.0 General . 76
7.6.2.1 Complex content derived by extension . 76
7.6.2.2 Complex content derived by restriction . 82
7.6.3 Referencing group components . 84
7.6.4 All content . 87
7.6.5 Choice content . 88
7.6.5.0 General . 88
7.6.5.1 Choice with nested elements . 89
7.6.5.2 Choice with nested group . 89
7.6.5.3 Choice with nested choice . 90
7.6.5.4 Choice with nested sequence. 90
7.6.5.5 Choice with nested any . 91
7.6.6 Sequence content . 92
7.6.6.0 General . 92
7.6.6.1 Sequence with nested element content . 92
7.6.6.2 Sequence with nested group content . 92
7.6.6.3 Sequence with nested choice content . 93
7.6.6.4 Sequence with nested sequence content . 93
7.6.6.5 Sequence with nested any content . 94
7.6.6.6 Effect of the minOccurs and maxOccurs attributes on the mapping . 94
7.6.7 Attribute definitions, attribute and attributeGroup references . 96
7.6.8 Mixed content . 98
7.7 Any and anyAttribute . 101
7.7.0 General . 101
7.7.1 The any element . 101
7.7.2 The anyAttribute element . 105
7.8 Annotation . 110
7.9 Group components . 110
7.10 Identity-constraint definition schema components . 111
8 Substitutions . 111
8.0 General . 111
8.1 Element substitution . 112
8.1.1 Head elements of substitution groups . 112
8.1.2 Substitution group members .
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.