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

ID | Project | Category | View Status | Date Submitted | Last Update
0005375 | Part 01: TTCN-3 Core Language | Technical | public | 02-10-2009 12:05 | 14-02-2010 14:23

Reporter | Anthony Baire |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | always
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.1.1 (published 2009-06) |
Target Version | v4.2.1 (published 2010-07) | Fixed in Version | v4.2.1 (published 2010-07) |
Clause Reference(s) | A.1.6.1.2 A.1.6.1.3
Source (company - Author) |

Summary | 0005375: [BNF] template fields cannot be accessed

Description

Sections 15.6.2 and 15.6.3 explicitly state that template fields can be accessed using the dot or index notation:
Â« Both templates and template variables allow referencing sub-fields inside a template definition using the dot notation. Â»
Â« Both templates and template variables allow referencing elements of a record of or set of template or field using
the index notation. Â»
However the BNF allows such kind of references only on template variables and only when reading the content of the variable.
Proposed changes:
SingleValueOrAttrib ::= MatchingSymbol | SingleExpression | TemplateRefWithParList
--> SingleValueOrAttrib ::= MatchingSymbol | SingleExpression | TemplateRefWithParList [ExtendedFieldReference]
VariableRef ::= (VarIdentifier | ValueParIdentifier) [ExtendedFieldReference]
--> VariableRef ::= (VarIdentifier | ValueParIdentifier | TemplateParIdentifier) [ExtendedFieldReference]

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
02-10-2009 12:05 | Anthony Baire | New Issue |
02-10-2009 12:05 | Anthony Baire | Status | new => assigned
02-10-2009 12:05 | Anthony Baire | Assigned To | => Ina Schieferdecker
02-10-2009 12:05 | Anthony Baire | Clause Reference(s) | => A.1.6.1.2 A.1.6.1.3
02-10-2009 12:05 | Anthony Baire | Source (company - Author) | =>
07-12-2009 14:14 | Ina Schieferdecker | Target Version | => Edition 4.2.1 (not yet published)
14-02-2010 14:22 | Ina Schieferdecker | Note Added: 0009202 |
14-02-2010 14:23 | Ina Schieferdecker | Status | assigned => resolved
14-02-2010 14:23 | Ina Schieferdecker | Resolution | open => fixed
14-02-2010 14:23 | Ina Schieferdecker | Fixed in Version | => Edition 4.2.1 (not yet published)
14-02-2010 14:23 | Ina Schieferdecker | Status | resolved => closed

Notes

(0009202)
Ina Schieferdecker
14-02-2010 14:22

As proposed.