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

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

Reporter | Gusztáv Adamis |
Assigned To | Matthias Simon |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | resolved | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version |  |
Clause Reference(s) | 16.1.2. Table15 and C.2.1
Source (company - Author) | Gusztáv Adamis Ericsson

Summary | 0008227: lengthof for map - ambigous

Description

According to
16.1.2. Table15 lengthof for map is not allowed: Return the length of a value or template of any string type, record of, set of or array lengthof
While according to C.2.1 it is allowed: Length of strings and lists
lengthof(in template (present) any inpar) return integer
This function returns the length of a value or template that is of type bitstring, hexstring, octetstring,
charstring, universal charstring, record of, set of, array or map.
...
For values of the map type, the fuction returns the number of key value pairs in the map.
Guess the Table 15 was not updated when introducing map.

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

Issue History
Date Modified | Username | Field | Change
16-10-2024 15:05 | Gusztáv Adamis | New Issue |
19-11-2024 12:56 | Axel Rennoch | Assigned To | => Matthias Simon
19-11-2024 12:56 | Axel Rennoch | Status | new => assigned
19-11-2024 13:05 | Jens Grabowski | Note Added: 0016685 |
21-11-2024 16:09 | Matthias Simon | Note Added: 0016698 |
21-11-2024 16:09 | Matthias Simon | Status | assigned => resolved
21-11-2024 16:09 | Matthias Simon | Resolution | open => fixed

Notes

(0016685)
Jens Grabowski
19-11-2024 13:05

To be implemented in v.4.17

(0016698)
Matthias Simon
21-11-2024 16:09

Work continues here: https://labs.etsi.org/rep/mts/ttcn3/standard/-/issues/19 [^]