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

ID | Project | Category | View Status | Date Submitted | Last Update
0007488 | Part 01: TTCN-3 Core Language | Editorial | public | 12-08-2016 08:50 | 12-12-2016 13:31

Reporter | KristÃ³f Szabados |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.8.1 (published 2016-07) |
Target Version | v4.9.1 (published 2017-05) | Fixed in Version | v4.9.1 (published 2017-05) |
Clause Reference(s) | B.1.2.6
Source (company - Author) | L.M. Ericsson

Summary | 0007488: incorrect examples in annex B

Description

1)
Section B.1.2.6 has the following example:
"
template MySetOfType mw_myTemplate7 := superset (1, 2, ?) length (7 .. infinity);
// matches any sequence of at least 7 integers which contains at least one occurrences of the
// numbers 1, 2 and 3 in any order and position
"
Incorrect: the value 3 is not required to be present for the template to match.
It would be better to write "matches any sequence of at least 7 integer which contains at least one occurrences of the number 1,2 and at least 5 more valid integer values (i.e. between 0 and 10, inclusively) in any order and position"
2)
B.1.3.2.0 has the following example:
"
var charstring v_myStrings[4];
myPCO.receive(v_myStrings:{"abyz", *, "abc" });
"
"abc" should be changed to "abcd" to be 4 characters long, as the type requires.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

related to | 0007487 | closed | Gyorgy Rethy | inconsistent examples and naming in Annex B

Attached Files | CR7488_resolution_v1.docx (147,384) 16-08-2016 09:22 http://oldforge.etsi.org/mantis/file_download.php?file_id=3451&type=bug

Issue History
Date Modified | Username | Field | Change
12-08-2016 08:50 | KristÃ³f Szabados | New Issue |
12-08-2016 12:04 | Jacob Wieland - Spirent | Note Added: 0014052 |
12-08-2016 12:43 | KristÃ³f Szabados | Note Added: 0014054 |
15-08-2016 09:51 | Jens Grabowski | Assigned To | => Axel Rennoch
15-08-2016 09:51 | Jens Grabowski | Status | new => assigned
16-08-2016 09:22 | Axel Rennoch | File Added: CR7488_resolution_v1.docx |
16-08-2016 09:24 | Axel Rennoch | Note Added: 0014088 |
16-08-2016 09:30 | Axel Rennoch | Note Added: 0014093 |
16-08-2016 09:30 | Axel Rennoch | Assigned To | Axel Rennoch => KristÃ³f Szabados
16-08-2016 09:30 | Axel Rennoch | Status | assigned => acknowledged
16-08-2016 10:02 | Jacob Wieland - Spirent | Relationship added | related to 0007487
16-08-2016 10:14 | KristÃ³f Szabados | Note Added: 0014098 |
16-08-2016 10:14 | KristÃ³f Szabados | Status | acknowledged => resolved
16-08-2016 10:14 | KristÃ³f Szabados | Fixed in Version | => v4.8.1 (published 2016-07)
16-08-2016 10:14 | KristÃ³f Szabados | Resolution | open => fixed
16-08-2016 10:14 | KristÃ³f Szabados | Assigned To | KristÃ³f Szabados => Gyorgy Rethy
17-08-2016 10:56 | Jacob Wieland - Spirent | Status | resolved => feedback
17-08-2016 10:56 | Jacob Wieland - Spirent | Resolution | fixed => reopened
17-08-2016 10:57 | Jacob Wieland - Spirent | Status | feedback => resolved
17-08-2016 10:57 | Jacob Wieland - Spirent | Fixed in Version | v4.8.1 (published 2016-07) => v4.9.1 (published 2017-05)
17-08-2016 10:57 | Jacob Wieland - Spirent | Resolution | reopened => fixed
17-08-2016 10:57 | Jacob Wieland - Spirent | Status | resolved => feedback
17-08-2016 10:57 | Jacob Wieland - Spirent | Resolution | fixed => reopened
17-08-2016 10:58 | Jacob Wieland - Spirent | Target Version | => v4.9.1 (published 2017-05)
17-08-2016 10:58 | Jacob Wieland - Spirent | Status | feedback => resolved
17-08-2016 10:58 | Jacob Wieland - Spirent | Resolution | reopened => fixed
12-12-2016 13:31 | Gyorgy Rethy | Note Added: 0014382 |
12-12-2016 13:31 | Gyorgy Rethy | Status | resolved => closed

Notes

(0014052)
Jacob Wieland - Spirent
12-08-2016 12:04

The only thing wrong in the second example is the 'var' keyword which should be 'type' instead (as is apparent from its usage in an inline-template as the type). Then v_myStrings (which should probably be renamed) describes the type of 4-element-charstring arrays, i.e all arrays that contain 4 charstrings.

(0014054)
KristÃ³f Szabados
12-08-2016 12:43

"var" is truly a problem. Why is "abc" 4 characters long ... or needed in this example?

(0014088)
Axel Rennoch
16-08-2016 09:24

This CR has been covered by 7487, too.

(0014093)
Axel Rennoch
16-08-2016 09:30

This CR is covered by 7487.

(0014098)
KristÃ³f Szabados
16-08-2016 10:14

resolved in CR0007487

(0014382)
Gyorgy Rethy
12-12-2016 13:31

Implemented in CR 7271