ETSI's Bug Tracker |
Anonymous | Login | Signup for local Mantis account | 02-05-2024 20:25 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 | ||||
0004401 | Part 01: TTCN-3 Core Language | New Feature | public | 31-10-2008 12:38 | 10-12-2008 11:04 | ||||
Reporter | Gyorgy Rethy | ||||||||
Assigned To | Ina Schieferdecker | ||||||||
Priority | high | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | v3.3.2 (published 2008-04) | ||||||||
Target Version | v4.1.1 (published 2009-06) | Fixed in Version | v4.1.1 (published 2009-06) | ||||||
Summary | 0004401: Referencing nested types of record/set ofs | ||||||||
Description | Currently we have an unsymmetry in TTCN-3: it is allowed to reference types embedded in records and sets but we cannot refer to types nested in record ofs and set ofs. This issue has been raised by STF160 as there are many structured types are defined as nested types in the ASN.1 specs and in case of types nested in record/set ofs it is not possible to define values or templates of these types. See proposed text in the attached document. Regarding the syntax different options would be possible: - using the index notation and ignoring the index - unpreferred as suggests referring to an instance; - using the index notation without the index (empty square brackets) - preferred - using the dot notation - unpreferred as inconsistent with record/set of value notation and record/set of elements do not have names, i.e. referencing via several levels of embedding would result "empty" dots like const MyRecOf... c_integer := 5; | ||||||||
Tags | No tags attached. | ||||||||
Clause Reference(s) | 6.3 | ||||||||
Source (company - Author) | L.M.Ericsson | ||||||||
Attached Files | CRxxxx - referencing types embedded to record_set ofs.doc [^] (1,032,704 bytes) 31-10-2008 12:38 CR4401_referencing_types_embedded_to_record_set_ofs_v2.doc [^] (1,042,432 bytes) 25-11-2008 09:07 | ||||||||
Notes | |
(0007236) tepelmann (reporter) 31-10-2008 13:39 |
As it is dereferencing a type and the "empty" bracket notation is used in other non-TTCN-3 contexts for declarations, we would propose a further solution: - using the index notation whereby the index is '-' type MyRecordOfInt[-] MyInteger; '-' is used already in TTCN-3 for out parameters in call operations as 'placeholder', as it is in this case as well. |
(0007398) Ina Schieferdecker (reporter) 25-11-2008 09:06 |
As it is about the type of the record of/set of element it is right to go via the elements - and as the element index is irrelevant here, the use of dash is an adequate choice. |
(0007453) Gyorgy Rethy (reporter) 26-11-2008 15:31 |
Checked, OK. |
Issue History | |||
Date Modified | Username | Field | Change |
31-10-2008 12:38 | Gyorgy Rethy | New Issue | |
31-10-2008 12:38 | Gyorgy Rethy | Status | new => assigned |
31-10-2008 12:38 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker |
31-10-2008 12:38 | Gyorgy Rethy | File Added: CRxxxx - referencing types embedded to record_set ofs.doc | |
31-10-2008 12:38 | Gyorgy Rethy | Clause Reference(s) | => 6.3 |
31-10-2008 12:38 | Gyorgy Rethy | Source (company - Author) | => L.M.Ericsson |
31-10-2008 13:39 | tepelmann | Note Added: 0007236 | |
25-11-2008 09:06 | Ina Schieferdecker | Note Added: 0007398 | |
25-11-2008 09:07 | Ina Schieferdecker | File Added: CR4401_referencing_types_embedded_to_record_set_ofs_v2.doc | |
25-11-2008 09:07 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Gyorgy Rethy |
25-11-2008 09:07 | Ina Schieferdecker | Resolution | open => fixed |
25-11-2008 09:07 | Ina Schieferdecker | Target Version | => Edition 4.1.1 (not yet published) |
26-11-2008 15:30 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker |
26-11-2008 15:31 | Gyorgy Rethy | Note Added: 0007453 | |
26-11-2008 15:31 | Gyorgy Rethy | Status | assigned => resolved |
10-12-2008 11:04 | Ina Schieferdecker | Status | resolved => closed |
10-12-2008 11:04 | Ina Schieferdecker | Fixed in Version | => Edition 4.1.1 (not yet published) |
MantisBT 1.2.14 [^] Copyright © 2000 - 2024 MantisBT Team |