ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0008228 | Part 01: TTCN-3 Core Language | Clarification | public | 16-10-2024 15:10 | 22-11-2024 09:15

Reporter | Gusztáv Adamis |
Assigned To | Tomas Urban |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | resolved | Resolution | open |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version |  |
Clause Reference(s) | 6.2.15.5, 6.2.15.6, C.2.1
Source (company - Author) | Gusztáv Adamis Ericsson

Summary | 0008228: Length of map definition

Description

The length of 'map' is defined in 3 different ways (though - at least according to the current version of the standard - they seem to mean the same
6.2.15.5. Since there is at most one value mapped to each key in a map value, the values in the set of keys will be unique. The
length of the map value is equal to the length of the set of keys.
6.2.15.6. Since two different keys might be mapped to the same value in a map value, the values in the set of values might not be
unique. The set of values will contain one value for each key value pair in the map. The length of the map value is equal
to the length of the set of values.
C.2.1 (implicitly): For values of the map type, the (lengthof – AG) fuction returns the number of key value pairs in the map.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
16-10-2024 15:10 | Gusztáv Adamis | New Issue |
19-11-2024 13:08 | Jens Grabowski | Note Added: 0016687 |
19-11-2024 13:14 | Jens Grabowski | Assigned To | => Tomas Urban
19-11-2024 13:14 | Jens Grabowski | Status | new => assigned
22-11-2024 09:15 | Tomas Urban | Note Added: 0016702 |
22-11-2024 09:15 | Tomas Urban | Status | assigned => resolved

Notes

(0016687)
Jens Grabowski
19-11-2024 13:08

Tomas to check and think about harmonization. On agreement: To be implemented in v.4.17

(0016702)
Tomas Urban
22-11-2024 09:15

Moved to gitlab: https://labs.etsi.org/rep/mts/ttcn3/standard/-/issues/26 [^]