ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details
0006648Part 01: TTCN-3 Core LanguageTechnicalpublic18-10-2013 14:3329-11-2013 13:58
Andras Kovacs 
Ina Schieferdecker 
normalminorN/A
closedfixed 
 
v4.6.1 (published 2014-06)v4.6.1 (published 2014-06) 
6.2
STF470 - Andras Kovacs
0006648: 6.2: Value list notation should not be used for set
In section 6.2, the paragraph under Example 1 contains the following sentence:
"The value list notation can be used for record, record of, set and set of value notations and for arrays."

It is probably a mistake that 'set' is listed in the above sentence. Using value list notation for set would also be in contradiction to restrictions of section 6.2.2.
No tags attached.
docx CR6648_v1.docx (16,283) 29-11-2013 13:56
http://oldforge.etsi.org/mantis/file_download.php?file_id=2968&type=bug
Issue History
18-10-2013 14:33Andras KovacsNew Issue
18-10-2013 14:33Andras KovacsClause Reference(s) => 6.2
18-10-2013 14:33Andras KovacsSource (company - Author) => STF470 - Andras Kovacs
21-10-2013 09:59Jacob Wieland - SpirentNote Added: 0011809
22-11-2013 14:46Gyorgy RethyProjectTTCN-3 Change Requests => Part 01: TTCN-3 Core Language
22-11-2013 14:52Gyorgy RethyNote Added: 0011816
22-11-2013 14:52Gyorgy RethyAssigned To => Ina Schieferdecker
22-11-2013 14:52Gyorgy RethyStatusnew => assigned
22-11-2013 14:52Gyorgy RethyTarget Version => v4.6.1 (published 2014-06)
22-11-2013 14:54Gyorgy RethyNote Edited: 0011816
22-11-2013 14:55Gyorgy RethyNote Edited: 0011816
26-11-2013 16:04Jacob Wieland - SpirentNote Added: 0011838
28-11-2013 13:39Gyorgy RethyNote Added: 0011861
28-11-2013 13:40Gyorgy RethyNote Edited: 0011861
29-11-2013 13:56Ina SchieferdeckerFile Added: CR6648_v1.docx
29-11-2013 13:56Ina SchieferdeckerNote Added: 0011878
29-11-2013 13:57Ina SchieferdeckerStatusassigned => resolved
29-11-2013 13:57Ina SchieferdeckerResolutionopen => fixed
29-11-2013 13:57Ina SchieferdeckerFixed in Version => v4.6.1 (published 2014-06)
29-11-2013 13:58Ina SchieferdeckerStatusresolved => closed

Notes
(0011809)
Jacob Wieland - Spirent   
21-10-2013 09:59   
I think we should drop that restriction. What is its purpose?
(0011816)
Gyorgy Rethy   
22-11-2013 14:52   
(edited on: 22-11-2013 14:55)
I think this is a trivial error in clause 6.2. In set, fields may be in any order; if field names are not present, no one can know that which value is assigned to which field.

(0011838)
Jacob Wieland - Spirent   
26-11-2013 16:04   
if the value-list notation is used, of course the order of declaration, same as for record types should be relevant. The any-order thing is only relevant for encoded values, on the TTCN-3 level, there is no real difference between set and record types.
(0011861)
Gyorgy Rethy   
28-11-2013 13:39   
(edited on: 28-11-2013 13:40)
STF discussion 2013-11-28: We can allow value list notation for set types in clause 6.2.2, semantics shall be that in this case values are assigned to fields in the sequential order of the fields in the type definition.

(0011878)
Ina Schieferdecker   
29-11-2013 13:56   
as proposed - see file