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

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) |
Clause Reference(s) | 6.3
Source (company - Author) | L.M.Ericsson

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;

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CRxxxx - referencing types embedded to record_set ofs.doc (1,032,704) 31-10-2008 12:38 http://oldforge.etsi.org/mantis/file_download.php?file_id=1734&type=bug CR4401_referencing_types_embedded_to_record_set_ofs_v2.doc (1,042,432) 25-11-2008 09:07 http://oldforge.etsi.org/mantis/file_download.php?file_id=1766&type=bug

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)

Notes

(0007236)
tepelmann
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
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
26-11-2008 15:31

Checked, OK.