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

ID | Project | Category | View Status | Date Submitted | Last Update
0006728 | Part 01: TTCN-3 Core Language | Technical | public | 11-04-2014 11:13 | 04-01-2015 20:40

Reporter | Tomas Urban |
Assigned To | Gyorgy Rethy |
Priority | low | Severity | minor | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.6.1 (published 2014-06) |
Target Version | v4.7.1 (published 2015-06) | Fixed in Version | v4.7.1 (published 2015-06) |
Clause Reference(s) | B.1.5
Source (company - Author) | STF 478

Summary | 0006728: Rules for direct references inside patterns

Description

I addition to "{ref}" notation, the BNF allows to use references directly in patterns as in the following example:
var charstring v_char := "[abc]";
var template charstring v_pattern := pattern v_char;
However, there don't seem to be any formal rules for these references. The specification only says (in the section B.1.5) that: "Character patterns may be composed from several fragments using the concatenation operation. The fragments of the pattern shall be concatenated before any evaluation of the pattern expression." It should be explained what is the allowed content of these references (type, if values only are allowed or values and templates, and in case of templates, what matching symbols).

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR6728_v1.docx (52,964) 03-11-2014 12:45 http://oldforge.etsi.org/mantis/file_download.php?file_id=3149&type=bug CR6728_v2.docx (43,608) 05-11-2014 11:40 http://oldforge.etsi.org/mantis/file_download.php?file_id=3166&type=bug

Issue History
Date Modified | Username | Field | Change
11-04-2014 11:13 | Tomas Urban | New Issue |
15-04-2014 09:24 | Jacob Wieland - Spirent | Note Added: 0012037 |
07-10-2014 09:09 | Gyorgy Rethy | Priority | normal => low
10-10-2014 07:29 | Tomas Urban | Assigned To | => Tomas Urban
10-10-2014 07:29 | Tomas Urban | Status | new => assigned
03-11-2014 11:27 | Tomas Urban | File Added: CR6728_v1.docx |
03-11-2014 12:42 | Tomas Urban | Note Added: 0012373 |
03-11-2014 12:42 | Tomas Urban | Assigned To | Tomas Urban => Jens Grabowski
03-11-2014 12:42 | Tomas Urban | Status | assigned => confirmed
03-11-2014 12:45 | Tomas Urban | File Deleted: CR6728_v1.docx |
03-11-2014 12:45 | Tomas Urban | File Added: CR6728_v1.docx |
03-11-2014 13:00 | Jacob Wieland - Spirent | Note Added: 0012375 |
05-11-2014 11:39 | Jens Grabowski | Note Added: 0012421 |
05-11-2014 11:39 | Jens Grabowski | Note Added: 0012422 |
05-11-2014 11:40 | Jens Grabowski | File Added: CR6728_v2.docx |
05-11-2014 11:40 | Jens Grabowski | Assigned To | Jens Grabowski => Tomas Urban
05-11-2014 11:40 | Jens Grabowski | Status | confirmed => assigned
05-11-2014 16:08 | Tomas Urban | Note Added: 0012437 |
05-11-2014 16:08 | Tomas Urban | Status | assigned => resolved
05-11-2014 16:08 | Tomas Urban | Fixed in Version | => v4.7.1 (published 2015-06)
05-11-2014 16:08 | Tomas Urban | Resolution | open => fixed
05-11-2014 16:08 | Tomas Urban | Assigned To | Tomas Urban => Gyorgy Rethy
04-01-2015 20:40 | Gyorgy Rethy | Note Added: 0012613 |
04-01-2015 20:40 | Gyorgy Rethy | Status | resolved => closed

Notes

(0012037)
Jacob Wieland - Spirent
15-04-2014 09:24

I think it should only be (uni) charstring values and (uni) charstring patterns that can be referenced.

(0012373)
Tomas Urban
03-11-2014 12:42

Proposal uploaded. Please review.

(0012375)
Jacob Wieland - Spirent
03-11-2014 13:00

Editorial for the beginning of the new paragraph: It should be either "Pattern definitions" or "A pattern definition". Also, I don't get the meaning/purpose of the sentence "When the referenced template contains a pattern, only the string content of the referenced pattern is used as a fragment for creating the new pattern."

(0012421)
Jens Grabowski
05-11-2014 11:39

Sentence changed to:
"When the referenced template contains a pattern, the character pattern definition of this pattern is used as a fragment for creating the new pattern."
The term "character pattern" is taken from Clause 6.1.2.5
An alternative phrasing of the sentence may be:
"When the referenced template contains a pattern, the character pattern definition of this pattern is considered when creating the new pattern."

(0012422)
Jens Grabowski
05-11-2014 11:39

Tomas, please made the final check.

(0012437)
Tomas Urban
05-11-2014 16:08

Final check completed. No modifications are necessary and the proposed change is ready to be added to the next version of the TTCN-3 core language specification.

(0012613)
Gyorgy Rethy
04-01-2015 20:40

Added to draft V4.6.3