ETSI's Bug Tracker |
Anonymous | Login | Signup for local Mantis account | 02-05-2024 20:54 IST |
Main | My View | View Issues | Change Log | Roadmap | Monitor project |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002137 | Part 01: TTCN-3 Core Language | Editorial | public | 12-10-2007 13:52 | 12-03-2008 10:24 | ||||
Reporter | Roland Gecse | ||||||||
Assigned To | Ina Schieferdecker | ||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | v3.2.1 (published 2007-02) | ||||||||
Target Version | v3.3.2 (published 2008-04) | Fixed in Version | v3.3.2 (published 2008-04) | ||||||
Summary | 0002137: Faulty examples in sizeof documentation | ||||||||
Description | Several syntactical/semantical faults appear in the examples given at the specification of sizeof predefined function. 1) The template definition of MyTemplate is syntactically invalid and should be replaced. Faulty definition: template MyPDU MyTemplate { field1 omit, field2 5 }; Corrected definition: template MyPDU MyTemplate := { field1 := omit, field2 := 5 }; 2.a) Editorial: Using the identifier MyRecordVar for a record of type variable is more than misleading: var MyList MyRecordVar; I would recommend to change it to e.g. MyRecordOfVar of MyListVar in all places. 2.b) Semantical: The use of omit is not appropriate in MyRecordVar initializer as MyRecordVar resolves to a record of integer type, which must not contain optional elements, thus statement "The omit keyword shall not be used for mandatory fields." in section 6.2 invalidates the code: MyRecordVar := { 0, 1, omit, 2, omit }; The intended content would probably be: MyRecordVar := { 0, 1, -, 2, - }; | ||||||||
Additional Information | I remember seeing omit values appearing in other places in the Core Language specification, thus it might be worth reviewing all the examples. | ||||||||
Tags | No tags attached. | ||||||||
Clause Reference(s) | C.29 | ||||||||
Source (company - Author) | L.M.Ericsson | ||||||||
Attached Files | |||||||||
Notes | |
(0003697) Gyorgy Rethy (reporter) 18-10-2007 19:30 |
STF solution of the CR is merged with the solutions of CRs 383, 424, 1451, 2141 and 2142 |
(0003704) Gyorgy Rethy (reporter) 19-10-2007 13:18 |
STF solution text is in the common file attached to CR383 |
(0004393) Gyorgy Rethy (reporter) 06-12-2007 16:38 |
Resolved together with CR424, solution is in the file attached to CR424. |
Issue History | |||
Date Modified | Username | Field | Change |
12-10-2007 13:52 | Roland Gecse | New Issue | |
12-10-2007 13:52 | Roland Gecse | Clause Reference(s) | => C.29 |
12-10-2007 13:52 | Roland Gecse | Source (company - Author) | => L.M.Ericsson |
13-10-2007 19:03 | Ina Schieferdecker | Status | new => assigned |
13-10-2007 19:03 | Ina Schieferdecker | Assigned To | => Gyorgy Rethy |
17-10-2007 18:39 | Gyorgy Rethy | File Added: STF_solution_CR2137.doc | |
17-10-2007 18:41 | Gyorgy Rethy | File Deleted: STF_solution_CR2137.doc | |
17-10-2007 18:44 | Gyorgy Rethy | File Added: STF_solution_CR2137.doc | |
18-10-2007 12:05 | Ina Schieferdecker | Target Version | => Edition 3.3.1 (not yet published) |
18-10-2007 16:47 | Gyorgy Rethy | File Deleted: STF_solution_CR2137.doc | |
18-10-2007 19:30 | Gyorgy Rethy | Note Added: 0003697 | |
19-10-2007 13:18 | Gyorgy Rethy | Resolution | open => fixed |
19-10-2007 13:18 | Gyorgy Rethy | Note Added: 0003704 | |
06-12-2007 16:38 | Gyorgy Rethy | Note Added: 0004393 | |
06-12-2007 16:38 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker |
06-12-2007 16:38 | Gyorgy Rethy | Status | assigned => resolved |
06-12-2007 18:02 | Ina Schieferdecker | Status | resolved => closed |
06-12-2007 18:02 | Ina Schieferdecker | Fixed in Version | => Edition 3.3.1 (not yet published) |
12-03-2008 10:22 | user10 | Fixed in Version | Edition 3.3.1 --will not be published, see 3.3.2 => Edition 3.3.2 (not yet published) |
12-03-2008 10:24 | user10 | Target Version | Edition 3.3.1 --will not be published, see 3.3.2 => Edition 3.3.2 (not yet published) |
MantisBT 1.2.14 [^] Copyright © 2000 - 2024 MantisBT Team |