Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004401Part 01: TTCN-3 Core LanguageNew Featurepublic31-10-2008 12:3810-12-2008 11:04
ReporterGyorgy Rethy 
Assigned ToIna Schieferdecker 
PriorityhighSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versionv3.3.2 (published 2008-04) 
Target Versionv4.1.1 (published 2009-06)Fixed in Versionv4.1.1 (published 2009-06) 
Summary0004401: Referencing nested types of record/set ofs
DescriptionCurrently 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;
TagsNo tags attached.
Clause Reference(s)6.3
Source (company - Author)L.M.Ericsson
Attached Filesdoc file icon CRxxxx - referencing types embedded to record_set ofs.doc [^] (1,032,704 bytes) 31-10-2008 12:38
doc file icon CR4401_referencing_types_embedded_to_record_set_ofs_v2.doc [^] (1,042,432 bytes) 25-11-2008 09:07

- Relationships

-  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
Powered by Mantis Bugtracker