ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details
0004690Part 01: TTCN-3 Core LanguageTechnicalpublic13-01-2009 08:2307-07-2009 11:26
Thomas Deiß 
Ina Schieferdecker 
normalmajorN/A
closedfixed 
v3.4.1 (published 2008-09) 
v4.2.1 (published 2010-07)v4.2.1 (published 2010-07) 
part1, B.1.3.3
   Nokia Siemens Networks , Thomas Deiss
0004690: BNF for permutation/length incorrect
The text in clause B.1.3.3 contains the following example,
type record of integer MySequenceOfType;

template MySequenceOfType MyTemplate9 := { permutation ( 1, 2, *) length (3..5), 5 };

but no way was found in the BNF to derive this template definition.
No tags attached.
doc CR4690_BNF_for_Permutation_Length.doc (152,064) 02-07-2009 17:54
http://oldforge.etsi.org/mantis/file_download.php?file_id=2153&type=bug
doc CR4690_BNF_for_Permutation_Length_v1.doc (146,944) 07-07-2009 10:59
http://oldforge.etsi.org/mantis/file_download.php?file_id=2176&type=bug
Issue History
13-01-2009 08:23Thomas DeißNew Issue
13-01-2009 08:23Thomas DeißStatusnew => assigned
13-01-2009 08:23Thomas DeißAssigned To => Ina Schieferdecker
13-01-2009 08:23Thomas DeißClause Reference(s) => part1, B.1.3.3
13-01-2009 08:23Thomas DeißSource (company - Author) => Nokia Siemens Networks , Thomas Deiss
13-01-2009 08:32Ina SchieferdeckerTarget Version => Edition 4.2.1 (not yet published)
20-04-2009 11:54Ina SchieferdeckerAssigned ToIna Schieferdecker => Tibor Csöndes
02-07-2009 17:54Tibor CsöndesFile Added: CR4690_BNF_for_Permutation_Length.doc
02-07-2009 18:02Tibor CsöndesNote Added: 0008821
02-07-2009 18:03Tibor CsöndesAssigned ToTibor Csöndes => Ina Schieferdecker
03-07-2009 12:17Gyorgy RethyNote Added: 0008829
07-07-2009 10:37Ina SchieferdeckerResolutionopen => fixed
07-07-2009 10:59Ina SchieferdeckerFile Added: CR4690_BNF_for_Permutation_Length_v1.doc
07-07-2009 11:00Ina SchieferdeckerNote Added: 0008853
07-07-2009 11:02Ina SchieferdeckerNote Edited: 0008853
07-07-2009 11:25Ina SchieferdeckerStatusassigned => resolved
07-07-2009 11:25Ina SchieferdeckerFixed in Version => Edition 4.2.1 (not yet published)
07-07-2009 11:26Ina SchieferdeckerStatusresolved => closed

Notes
(0008821)
Tibor Csöndes   
02-07-2009 18:02   
According to the BNF the following structure is not allowed:{permutation(1,2,*)length(5)}, however B.1.4.1 support it. Based on the BNF the following structure is equivalent with the previous one: {permutation(1,2,* length(3))}. Therefore MyTemplate9 has deleted and B.1.4.1 modified according to the BNF.
(0008829)
Gyorgy Rethy   
03-07-2009 12:17   
OK with me, i.e. we align the text to the BNF (normally we try to avoid to have alternative syntax for the same thing)
(0008853)
Ina Schieferdecker   
07-07-2009 11:00   
(edited on: 07-07-2009 11:02)
the use of length for permutation has to be forbidden in B1.3.3 - see resolution v1

note: the resolution removes the combined usage of permutation with length, which was allowed beforehand, and add the usage of length with * within permutation, which was forbidden beforehand in the main text - but these two changes make it consistent to the BNF