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

ID | Project | Category | View Status | Date Submitted | Last Update
0005788 | Part 01: TTCN-3 Core Language | Clarification | public | 08-10-2010 14:01 | 30-11-2010 09:40

Reporter | Andras Kovacs |
Assigned To |  |
Priority | normal | Severity | minor | Reproducibility | N/A
Status | closed | Resolution | no change required |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version |  |
Clause Reference(s) | [Part 1: TTCN-3 Core Language / Section 6.2 ]
Source (company - Author) | BroadBit - Andras Kovacs

Summary | 0005788: STF409 question on [Part 1: TTCN-3 Core Language / Section 6.2 ]
Description | No type definition existing on page 39. It is impossible to validate the templates from examples without a type definition for each example. Example 2: - is field2 optional ? var MyRecordType MyVariable:= {'11001'B, -, "A string"} Example 4: - is field3 optional ? var MyRecordType MyVariable := { field1 := '111'B, field2 := false, field3 := - }
Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
08-10-2010 14:01 | Andras Kovacs | New Issue |
08-10-2010 14:01 | Andras Kovacs | Clause Reference(s) | => [Part 1: TTCN-3 Core Language / Section 6.2 ]
08-10-2010 14:01 | Andras Kovacs | Source (company - Author) | => BroadBit - Andras Kovacs
14-10-2010 10:56 | Jacob Wieland - Spirent | Note Added: 0009780 |
14-10-2010 11:52 | Benjamin Zeiss | Note Added: 0009783 |
14-10-2010 11:53 | Benjamin Zeiss | Status | new => closed
14-10-2010 11:53 | Benjamin Zeiss | Note Added: 0009784 |
14-10-2010 11:53 | Benjamin Zeiss | Resolution | open => no change required
30-11-2010 09:40 | Ina Schieferdecker | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language

Notes

(0009780)
Jacob Wieland - Spirent
14-10-2010 10:56

I think from the examples it is clear that a valid MyRecordType would be
type record MyRecordType {
bitstring field1,
boolean field2,
charstring field3
}
whether the fields are optional or not is irrelevant for the examples
as they only use the 'unchanged' symbol which in variable declarations or assignments can also be used for mandatory fields to leave them unspecified (partial variable initialization).

(0009783)
Benjamin Zeiss
14-10-2010 11:52

We agree, I guess this can be closed then.

(0009784)
Benjamin Zeiss
14-10-2010 11:53

no change required.