ETSI's Bug Tracker - Part 07: Using ASN.1 with TTCN-3
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0002148 | Part 07: Using ASN.1 with TTCN-3 | New Feature | public | 15-10-2007 12:39 | 12-12-2008 11:34

Reporter | Gyorgy Rethy |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | major | Reproducibility | always
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v3.3.2 (published 2008-04) | Fixed in Version | v3.3.2 (published 2008-04) |
Clause Reference(s) | Parts 6 & 7
Source (company - Author) | 3GPP (recorded by Gyorgy Rethy)

Summary | 0002148: ASN.1 keyword DEFAULT
Description | In current test suites (TTCN-2) and the used ASN.1 codecs the test case specifies an 'OMIT' when the default value shall be applied, i.e. the IE shall not be sent at the air interface. When receiving a message the TTCN expects an OMIT instead of the default value (default value would be interpreted like a coding error).
Steps To Reproduce |

Additional Information

There is no explicit statement on DEFAULT handling in Part 7. Tools are handling ASN.1 RECORD/SET fields with DEFAULT value at least in two different ways: either like OPTINAL fields or like mandatory fields (in this case the default value is omitted in the encoded message by the codec).
The following compromise solution is proposed:
ï‚§ Part 7 of the standard shall be updated to deal with fields using DEFAULT-s explicitly: they shall be handled at the abstract syntax level like the TTCN-2 semantics, i.e. allowing omit.
ï‚§ However, there is still a slight difference to OPTIONAL fields. In case of fields with DEFAULT, omit and the default value until know have had the same semantic meaning. For backward compatibility reasons encoders/decoders shall support two mandatory user options: if the field is set to the default value in TTCN-3, the field is either omitted or encoded with the default value at encoding; when the field with DEFAULT is omitted in the received encoded message, the decoder shall either set it omit or set it to the default value in TTCN-3 (i.e. all three variations, the <default>, omit or <default> ifpresent template fields will be valid in TTCN-3 for the default value).
ï‚§ TCI-CD shall be amended accordingly.

Tags | No tags attached.
Relationships |

Attached Files

es_20187307v030301_v1.doc (735,744) 05-12-2007 13:36
http://oldforge.etsi.org/mantis/file_download.php?file_id=1213&type=bug
es_20187307v030301_v2.doc (744,960) 05-12-2007 15:16
http://oldforge.etsi.org/mantis/file_download.php?file_id=1218&type=bug
es_20187307v030301_v2_a.doc (757,248) 06-12-2007 10:22
http://oldforge.etsi.org/mantis/file_download.php?file_id=1230&type=bug
es_20187307v030301_v3.doc (765,440) 06-12-2007 13:20
http://oldforge.etsi.org/mantis/file_download.php?file_id=1237&type=bug

Issue History
Date Modified | Username | Field | Change
15-10-2007 12:39 | Gyorgy Rethy | New Issue |
15-10-2007 12:39 | Gyorgy Rethy | Status | new => assigned
15-10-2007 12:39 | Gyorgy Rethy | Assigned To | => Gyorgy Rethy
15-10-2007 12:39 | Gyorgy Rethy | Clause Reference(s) | => Parts 6 & 7
15-10-2007 12:39 | Gyorgy Rethy | Source (company - Author) | => 3GPP (recorded by Gyorgy Rethy)
15-10-2007 18:43 | Ina Schieferdecker | Note Added: 0003632 |
18-10-2007 13:46 | Ina Schieferdecker | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
18-10-2007 14:00 | Ina Schieferdecker | Target Version | => Edition 3.3.1 (not yet published)
05-12-2007 13:36 | Gyorgy Rethy | File Added: es_20187307v030301_v1.doc |
05-12-2007 13:36 | Gyorgy Rethy | Note Added: 0004333 |
05-12-2007 13:37 | Gyorgy Rethy | Note Added: 0004334 |
05-12-2007 15:16 | Gyorgy Rethy | File Added: es_20187307v030301_v2.doc |
06-12-2007 10:22 | Thomas DeiÃŸ | Note Added: 0004364 |
06-12-2007 10:22 | Thomas DeiÃŸ | File Added: es_20187307v030301_v2_a.doc |
06-12-2007 10:23 | Thomas DeiÃŸ | Status | assigned => resolved
06-12-2007 13:19 | Gyorgy Rethy | Status | resolved => feedback
06-12-2007 13:19 | Gyorgy Rethy | Resolution | open => reopened
06-12-2007 13:19 | Gyorgy Rethy | Note Added: 0004375 |
06-12-2007 13:20 | Gyorgy Rethy | File Added: es_20187307v030301_v3.doc |
06-12-2007 13:21 | Gyorgy Rethy | Note Added: 0004376 |
06-12-2007 13:21 | Gyorgy Rethy | Status | feedback => resolved
06-12-2007 14:29 | Ina Schieferdecker | Status | resolved => feedback
06-12-2007 14:29 | Ina Schieferdecker | Note Added: 0004378 |
06-12-2007 14:30 | Ina Schieferdecker | Project | Part 01: TTCN-3 Core Language => Part 07: Using ASN.1 with TTCN-3
06-12-2007 14:30 | Ina Schieferdecker | Status | feedback => resolved
06-12-2007 14:30 | Ina Schieferdecker | Resolution | reopened => fixed
13-12-2007 10:09 | Gyorgy Rethy | Status | resolved => feedback
13-12-2007 10:09 | Gyorgy Rethy | Resolution | fixed => reopened
13-12-2007 10:09 | Gyorgy Rethy | Note Added: 0004467 |
13-12-2007 10:09 | Gyorgy Rethy | Note Added: 0004468 |
13-12-2007 10:09 | Gyorgy Rethy | Status | feedback => closed
13-12-2007 10:09 | Gyorgy Rethy | Resolution | reopened => fixed
13-12-2007 10:09 | Gyorgy Rethy | Target Version | Edition 3.3.1 (not yet published) =>
13-12-2007 10:31 | Gyorgy Rethy | Status | closed => feedback
13-12-2007 10:31 | Gyorgy Rethy | Resolution | fixed => reopened
13-12-2007 10:31 | Gyorgy Rethy | Note Added: 0004469 |
13-12-2007 10:32 | Gyorgy Rethy | Note Deleted: 0004469 |
13-12-2007 10:32 | Gyorgy Rethy | Status | feedback => closed
13-12-2007 10:32 | Gyorgy Rethy | Resolution | reopened => fixed
12-12-2008 11:34 | Ina Schieferdecker | Fixed in Version | => Edition 3.3.2
12-12-2008 11:34 | Ina Schieferdecker | Target Version | => Edition 3.3.2

Notes

(0003632)
Ina Schieferdecker
15-10-2007 18:43

Try to resolve it via encoding attributes - do not touch the TCI-CD interface

(0004333)
Gyorgy Rethy
05-12-2007 13:36

Part-7, aligned with Core v3.3.1, also containing resolution of this CR is uploaded for checking by STF members.

(0004334)
Gyorgy Rethy
05-12-2007 13:37

Part-7, aligned with Core v3.3.1, also containing resolution of this CR is uploaded for checking by STF members.

(0004364)
Thomas DeiÃŸ
06-12-2007 10:22

refering to solution v2:
clause 8.2: the suffix _field is fine for fields, but reads awkward for other ASN.1 elements such as values or elements in an enumeration. As both ASN.1 identifiers as well as type references must not contain a hyphen as last character, just an underscore as suffix will be sufficient.
clause 9.1.2.1: two cases separated:
a) a synonym of the NULL type is added.
b) the NULL type is used inside a structured type.
Reference changed from clause 7.2 to 8.2. (To me this makes more sense).
A few (3 or 4) typos have been found.
Otherwise, this is ok.
the version should be 3.3.1, to align it with the other parts. So v 3.2.1 will be skipped.

(0004375)
Gyorgy Rethy
06-12-2007 13:19

Additional note on how to convert ASN.1 NULL type

(0004376)
Gyorgy Rethy
06-12-2007 13:21

New version ~_v3 containing additional note on conversion of the ASN.1 NULL type. Version accepted by the STF.

(0004378)
Ina Schieferdecker
06-12-2007 14:29

The resolution is now being done in Part 7 - the CR needs to be moved to Part 7 therefore.

(0004467)
Gyorgy Rethy
13-12-2007 10:09

draft of Part-7 v3.3.1 has been sent for MTS approval

(0004468)
Gyorgy Rethy
13-12-2007 10:09

draft of Part-7 v3.3.1 has been sent for MTS approval