ETSI's Bug Tracker - Part 07: Using ASN.1 with TTCN-3 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0006309 | Part 07: Using ASN.1 with TTCN-3 | Technical | public | 10-09-2012 21:27 | 19-12-2012 13:47 |
Reporter | tepelmann | ||||
Assigned To | Gyorgy Rethy | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | v4.4.1 (published 2012-04) | ||||
Target Version | v4.5.1 (published 2013-04) | Fixed in Version | v4.5.1 (published 2013-04) | ||
Clause Reference(s) | 9.1 | ||||
Source (company - Author) | Testing Technologies - tepelmann | ||||
Summary | 0006309: NamedNumber should be mapped to constant in TTCN-3 | ||||
Description | In chapter "9.1 Transformation rules for ASN.1 types and values" in transformation rule 12) the handling of named numbers is defined. Currently the named numbers are ignored. This is valid for mapping the type itself. However the named numbers are given to provide specific meanings to specific values. This can be used in TTCN-3 as well. The named numbers shall be mapped to constants in TTCN-3. A proposal for the name of the constant is as follow: the type name as prefix, followed by an underscore and the name of the named number and a final underscore to avoid name clashes. To keep the named number in the format of constant is also important as a change of the named number in the ASN.1 module would be transparent for the TTCN-3 module, if the TTCN-3 constant is used inside TTCN-3 rather then a direct number(which may have changed the meaning in ASN.1) | ||||
Steps To Reproduce | |||||
Additional Information | e.g.: Definition in ASN.1: Color ::= INTEGER {red(0),green(1), blue(255) } Mapped constant in TTCN-3: type integer Color; const Color Color_green_ := 1; const Color Color_red_ := 0; const Color Color_blue_ := 255; | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | CR6309_resolution_v1.doc (120,832) 11-12-2012 13:08 http://oldforge.etsi.org/mantis/file_download.php?file_id=2763&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
10-09-2012 21:27 | tepelmann | New Issue | |||
10-09-2012 21:27 | tepelmann | Clause Reference(s) | => 9.1 | ||
10-09-2012 21:27 | tepelmann | Source (company - Author) | => Testing Technologies - tepelmann | ||
10-12-2012 13:23 | Gyorgy Rethy | Status | new => assigned | ||
10-12-2012 13:23 | Gyorgy Rethy | Assigned To | => Gyorgy Rethy | ||
10-12-2012 16:55 | Gyorgy Rethy | Target Version | => Edition 4.5.1 | ||
11-12-2012 13:08 | Gyorgy Rethy | File Added: CR6309_resolution_v1.doc | |||
11-12-2012 13:09 | Gyorgy Rethy | Note Added: 0011221 | |||
11-12-2012 13:09 | Gyorgy Rethy | Status | assigned => resolved | ||
11-12-2012 13:09 | Gyorgy Rethy | Resolution | open => fixed | ||
11-12-2012 13:09 | Gyorgy Rethy | Fixed in Version | => Edition 4.5.1 | ||
19-12-2012 13:47 | Gyorgy Rethy | Status | resolved => closed | ||
19-12-2012 13:47 | Gyorgy Rethy | Note Added: 0011289 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|