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

ID | Project | Category | View Status | Date Submitted | Last Update
0000420 | Part 01: TTCN-3 Core Language | Clarification | public | 24-11-2006 14:41 | 12-03-2008 10:24

Reporter | Stephan Schulz |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | text | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v3.1.1 (published 2005-06) |
Target Version | v3.3.2 (published 2008-04) | Fixed in Version | v3.3.2 (published 2008-04) |
Clause Reference(s) | 20.1.1
Source (company - Author) | dr. György Réthy, Ericsson

Summary | 0000420: Semantics of optional statement blocks following altstep-branches
Description | Optional statement blocks have been allowed in altstep-branches of alt statements (CR 187). This addition has been introduced into the bnf but no semantic description has been inserted into the body the standard.
Steps To Reproduce |

Additional Information

proppsed solution: Change text to ...
20.1.1 Execution of alternative behaviour
... (6th paragraph)
An altstep-branch is selected if the Boolean guard is fulfilled. The selection of an altstep-branch causes the invocation of the referenced altstep, i.e. the altstep is invoked and the evaluation of the snapshot continues within the altstep. Altstep-branches may contain an optional block of statements and declarations. When an altstep-branch is selected, after executing the block of statements and declarations of the succeeding alternative of the altstep, the block of statements and declarations following the altstep call - if any - shall also be executed.
...
20.1.6 Invocation of altsteps as alternatives
TTCN-3 allows the invocation of altsteps as alternatives in alt statements (see clause 16.2.3). When an altstep is explicitly invoked as an alternative, the block of statements and declarations optionally following the altstep call shall also be executed.
EXAMPLE:
:
alt {
[] PCO3.receive { }
[] AnotherAltStep(){setverdict (inconc)};
// explicit call of altstep AnotherAltStep as alternative
// of an alt statement with a block of statements and declarations following the altstep call.
[] MyTimer.timeout { }
}
:

Tags | No tags attached.
Relationships |
Attached Files | CR-420-Optional-Statementblock-Following-Altstep-Branches-Resolution.doc (227,328) 20-11-2007 08:09 http://oldforge.etsi.org/mantis/file_download.php?file_id=1129&type=bug

Issue History
Date Modified | Username | Field | Change
24-11-2006 14:41 | Stephan Schulz | New Issue |
24-11-2006 14:41 | Stephan Schulz | Clause Reference(s) | => 20.1.1
24-11-2006 14:41 | Stephan Schulz | Source (company - Author) | => dr. György Réthy, Ericsson
24-11-2006 14:41 | Stephan Schulz | Note Added: 0000320 |
24-11-2006 14:41 | Stephan Schulz | Status | new => confirmed
15-06-2007 19:14 | Stephan Schulz | Status | confirmed => assigned
15-06-2007 19:14 | Stephan Schulz | Assigned To | => Ina Schieferdecker
13-10-2007 19:25 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Jens Grabowski
18-10-2007 13:12 | Ina Schieferdecker | Target Version | => Edition 3.3.1 (not yet published)
20-11-2007 08:09 | Jens Grabowski | File Added: CR-420-Optional-Statementblock-Following-Altstep-Branches-Resolution.doc |
20-11-2007 08:10 | Jens Grabowski | Assigned To | Jens Grabowski => Gyorgy Rethy
20-11-2007 08:10 | Jens Grabowski | Resolution | open => fixed
06-12-2007 18:30 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker
06-12-2007 18:30 | Gyorgy Rethy | Status | assigned => resolved
07-12-2007 09:29 | Ina Schieferdecker | Status | resolved => closed
07-12-2007 09:29 | Ina Schieferdecker | Fixed in Version | => Edition 3.3.1 (not yet published)
12-03-2008 10:22 | user10 | Fixed in Version | Edition 3.3.1 --will not be published, see 3.3.2 => Edition 3.3.2 (not yet published)
12-03-2008 10:24 | user10 | Target Version | Edition 3.3.1 --will not be published, see 3.3.2 => Edition 3.3.2 (not yet published)

Notes

(0000320)
Stephan Schulz
24-11-2006 14:41

Agreed in principle