View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0007769 | Part 01: TTCN-3 Core Language | Technical | public | 29-05-2018 08:43 | 04-01-2019 17:02 |
|
Reporter | Tomas Urban | |
Assigned To | Gyorgy Rethy | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 4.11.1 (published 2019-05) | |
|
Summary | 0007769: Errors in example on variant attributes |
Description | The example in the section 27.5 contains two errors:
1. MyPDU1.field3 type should be MyType (currently Mytype)
2. The valid encode attribute for MyPDU1.field3 is "General encoding rule" and not "Rule 2" as currently stated in the comment. That's because the field inherits the encode attribute from two places (MyType reference and myRecords group). One of the main rules for attributes overriding specified in 27.1.2.0 states: "Attributes inherited from a type reference will override general attributes from a higher scope unit containing the type reference." Thus, the encode attribute is inherited from MyType reference whose encode attribute equals to "General encoding rule" (inherited from the module level). |
Tags | No tags attached. |
|
Clause Reference(s) | 27.5 |
Source (company - Author) | STF 548 |
|
Attached Files | CR-7769-Errors in example on variant attributes.docx [^] (70,785 bytes) 17-07-2018 10:27 |
|