Road vehicles — Open Test sequence eXchange format (OTX) — Part 2: Core data model specification and requirements

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.

Véhicules routiers — Format public d'échange de séquence-tests (OTX) — Partie 2: Exigences et spécifications du modèle de données central

General Information

Status
Published
Publication Date
25-Jul-2022
Current Stage
6060 - International Standard published
Start Date
26-Jul-2022
Due Date
16-Oct-2021
Completion Date
26-Jul-2022
Ref Project

Relations

Buy Standard

Standard
ISO 13209-2:2022 - Road vehicles — Open Test sequence eXchange format (OTX) — Part 2: Core data model specification and requirements Released:26. 07. 2022
English language
191 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL ISO
STANDARD 13209-2
Second edition
2022-07
Road vehicles — Open Test sequence
eXchange format (OTX) —
Part 2:
Core data model specification and
requirements
Véhicules routiers — Format public d'échange de séquence-tests
(OTX) —
Partie 2: Exigences et spécifications du modèle de données central
Reference number
ISO 13209-2:2022(E)
© ISO 2022

---------------------- Page: 1 ----------------------
ISO 13209-2:2022(E)
COPYRIGHT PROTECTED DOCUMENT
© ISO 2022
All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may
be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on
the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below
or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii
  © ISO 2022 – All rights reserved

---------------------- Page: 2 ----------------------
ISO 13209-2:2022(E)
Contents Page
Foreword . vi
Introduction .vii
1 S c op e . 1
2 Nor m at i ve r ef er enc e s . 1
3 T erms, definitions and abbreviated terms . 2
3.1 T erms and definitions . 2
3 . 2 A bbr e v i at e d t er m s . 3
4 Requirements and recommendations . 4
4.1 General . 4
4.2 B asic principles for requirements and recommendations definition . 4
4.3 C lustering of requirements and recommendations . 4
4 .4 E nt r ie s pr ior it ie s . 4
4.5 G eneral format and language aspects . 5
4.6 T est sequence development process support . 6
4.7 L anguage feature details . 7
4 .7.1 D e c l a r at ion s . . 7
4.7.2 D ata types . 8
4.7.3 E xpressions . 9
4 . 8 B ou nd a r ie s . 12
5 I ntroduction to modelling in UML and XSD .14
5.1 G eneral aspects . 14
5 . 2 C la ss d i a g r a m s . 14
5.2.1 G eneral . 14
5 . 2 . 2 C la ss . 14
5 . 2 . 3 I n her it a nc e r el at ion sh ip s . 15
5 . 2 .4 A g g r e g at ion r el at ion sh ip s . 16
5.3 M apping to the XML Schema Definition language (XSD) . 16
5.3.1 General . 16
5 . 3 . 2 M appi n g r u le s. 17
5.3.3 Full mapping example . . 17
6 O T X pr i nc iple s .20
6.1 General . 20
6 . 2 X M L f or m at . 20
6.3 I mperative and structured programming paradigm . 21
6.4 G raphical authoring of OTX sequences . 21
6.5 Specification/realisation concept . 21
6.6 M odular OTX extension concept and OTX-based runtime architecture . 21
6.7 C ontext concept .23
6 . 8 Va l id it ie s c onc ep t . 24
6 .9 Si g n at u r e c onc ep t . 27
7 O TX core data model specification .28
7.1 G eneral .28
7.2 H igh-level overview of the OTX core data model .29
7. 3 D o c u ment r o ot . 30
7. 3 .1 D e s c r ip t ion . 30
7.3.2 S yntax . . 31
7. 3 . 3 Sema nt ic s . 31
7.3.4 Example .34
7.4 I mp or t s . 35
7.4 .1 D e s c r ip t ion . 35
7.4.2 Syntax . . 35
7.4 . 3 Sema nt ic s . 35
iii
© ISO 2022 – All rights reserved

---------------------- Page: 3 ----------------------
ISO 13209-2:2022(E)
7.4.4 Example .36
7.5 Global declarations . 36
7. 5 .1 D e s c r ip t ion . 36
7.5.2 S yntax . .36
7. 5 . 3 Sema nt ic s . 37
7.5.4 Example .40
7.6 V alidity terms . 41
7. 6 .1 D e s c r ip t ion . 41
7.6.2 Syntax . . 41
7. 6 . 3 Sema nt ic s . 42
7.6.4 Example . 43
7.7 Si g n at u r e s . 43
7.7.1 D e s c r ip t ion . 43
7.7.2 S yntax . . 43
7.7. 3 S em a nt ic s .44
7. 8 P r o c e du r e s i g n at u r e s . 45
7. 8 .1 D e s c r ip t ion . 45
7.8.2 S yntax . . 45
7. 8 . 3 Sema nt ic s . 45
7.8.4 Example . 45
7.9 P r o c e du r e s . 47
7.9.1 D e s c r ip t ion . 47
7.9.2 Syntax . . 47
7.9. 3 Sema nt ic s . 47
7.9.4 Example .50
7.10 F lo at i n g c om ment s .50
7.10 .1 D e s c r ip t ion . 50
7.10.2 Syntax . .50
7.10 . 3 Sema nt ic s . 51
7.10.4 Example . 51
7.11 P a r a me t er de c l a r at ion s . 52
7.11.1 D e s c r ip t ion . 52
7.11.2 S yntax . . 52
7.11. 3 Sema nt ic s . 53
7.11.4 Example .54
7.12 L o c a l de c l a r at ion s.54
7.12 .1 D e s c r ip t ion .54
7.12.2 S yntax . .54
7.12 . 3 S em a nt ic s . 55
7.12.4 Example . 55
7.13 No de s .56
7.13 .1 O ver v iew .56
7.13 . 2 No de . 57
7.13 . 3 Ac t ion no de.58
7.13 .4 C omp ou nd no de s . 62
7.13 . 5 E nd no de s .84
7.14 Ac t ion s . 91
7.14 .1 O ver v iew . 91
7.14.2 Syntax . 91
7.14.3 General considerations . 92
7.14 .4 A s s i g n ment . 92
7.14 . 5 P r o c e du r eC a l l . 92
7.14.6 ByteFieldModifiers .98
7.14.7 ListModifiers . 101
7.14.8 MapModifiers .104
7.15 Ter m s.106
7.15 .1 O ver v iew .106
7.15 . 2 L it er a l t er m s .107
iv
  © ISO 2022 – All rights reserved

---------------------- Page: 4 ----------------------
ISO 13209-2:2022(E)
7.15 . 3 D er ef er enc i n g t er m s .112
7.15 .4 C r e at ion t er m s . 114
7.15 . 5 C onver s ion t er m s . 117
7.15.6 Integer conversion terms .121
7.15 .7 L og ic op er at ion s .124
7.15 . 8 R el at ion a l op er at ion s .126
7.15 .9 M at hem at ic a l op er at ion s .129
7.15.10 ByteField operations .133
7.15 .11 L i s t-r el at e d t er m s .136
7.15 .12 M ap -r el at e d t er m s .137
7.15.13 Exception-related terms .139
7.15.14 V alidity concept related terms .140
7.16 U niversal types . 141
7.16 .1 O ver v iew . 141
7.16 . 2 P ac k a g eNa me . 141
7.16.3 OtxName and OtxLink . 142
7.16.4 NamedAndSpecified . 143
7.16 . 5 Me t a Dat a . 145
7.16 . 6 Va r i able ac c e s s . 147
7.16 .7 D e c l a r at ion s . .149
7.16.8 Visibility .162
7.16 .9 F low . 162
Annex A (normative) OTX data types . 165
Annex B (normative) Scope and memory allocation .170
Annex C (normative) Comprehensive checker rule listing . 172
Annex D (normative) Extension mechanism . 185
Annex E (normative) Schema annotations .188
Annex F (informative) OTX home and URI recommendation . 190
Bibliography .191
v
© ISO 2022 – All rights reserved

---------------------- Page: 5 ----------------------
ISO 13209-2:2022(E)
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards
bodies (ISO member bodies). The work of preparing International Standards is normally carried out
through ISO technical committees. Each member body interested in a subject for which a technical
committee has been established has the right to be represented on that committee. International
organizations, governmental and non-governmental, in liaison with ISO, also take part in the work.
ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of
electrotechnical standardization.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the
different types of ISO documents should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives).
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. ISO shall not
...

Questions, Comments and Discussion

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