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

ID | Project | Category | View Status | Date Submitted | Last Update
0003761 | Part 01: TTCN-3 Core Language | New Feature | public | 14-07-2008 16:38 | 06-10-2008 06:17

Reporter | Gyorgy Rethy |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.1.1 (published 2009-06) | Fixed in Version | v3.4.1 (published 2008-09) |
Clause Reference(s) | B.1.5
Source (company - Author) |

Summary | 0003761: Pattern concatenation

Description

Currently only pattern "<single pattern here>"; is allowed for charstring templates or template fields. This results that the complete pattern shall be in a single line, no line breaks and/or concatenation are allowed. This makes difficult to work with long patterns. It would increase code development efficiency if the pattern could be broken into lines. Syntactically it could be solved by different ways:
- pattern "[a-z]#(,1){myReference}";//this is the currently allowed syntax
- pattern ("[a-z]#","(,1){myReference}")//argument-list syntax
- pattern "[a-z]#(,1)"&"{myReference}";//simple concatenation syntax
- pattern ("[a-z]#(,1)"&"{myReference}");//argument-like concatenation syntax
There is no strong preference regarding the syntax but the last two options are the most aligned with the existing string concatenation syntax.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

related to | 0003619 | closed | Ina Schieferdecker | whitespace in pattern metacharacters
related to | 0003760 | closed | Ina Schieferdecker | correct usage of metacharacters

Attached Files | CR3760_CR3761_Grammar.doc (40,448) 18-07-2008 10:32 http://oldforge.etsi.org/mantis/file_download.php?file_id=1563&type=bug CR3760_CR3761_Grammar_02.doc (40,448) 30-09-2008 00:13 http://oldforge.etsi.org/mantis/file_download.php?file_id=1663&type=bug CR3760_CR3761_Grammar_03.doc (40,448) 30-09-2008 00:42 http://oldforge.etsi.org/mantis/file_download.php?file_id=1664&type=bug

Issue History
Date Modified | Username | Field | Change
14-07-2008 16:38 | Gyorgy Rethy | New Issue |
14-07-2008 16:38 | Gyorgy Rethy | Status | new => assigned
14-07-2008 16:38 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker
14-07-2008 16:38 | Gyorgy Rethy | Clause Reference(s) | => B.1.5
14-07-2008 16:38 | Gyorgy Rethy | Source (company - Author) | =>
18-07-2008 10:32 | Ina Schieferdecker | File Added: CR3760_CR3761_Grammar.doc |
18-07-2008 10:32 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Gyorgy Rethy
18-07-2008 10:32 | Ina Schieferdecker | Resolution | open => fixed
18-07-2008 10:32 | Ina Schieferdecker | Target Version | => Edition 4.1.1 (not yet published)
15-08-2008 12:37 | Gyorgy Rethy | Relationship added | related to 0003619
30-09-2008 00:13 | Thomas DeiÃŸ | File Added: CR3760_CR3761_Grammar_02.doc |
30-09-2008 00:14 | Thomas DeiÃŸ | Note Added: 0006924 |
30-09-2008 00:42 | Thomas DeiÃŸ | File Added: CR3760_CR3761_Grammar_03.doc |
30-09-2008 00:43 | Thomas DeiÃŸ | Note Added: 0006926 |
06-10-2008 05:52 | Ina Schieferdecker | Relationship added | related to 0003760
06-10-2008 06:17 | Ina Schieferdecker | Status | assigned => closed
06-10-2008 06:17 | Ina Schieferdecker | Fixed in Version | => Edition 3.4.1 (not yet published)

Notes

(0006924)
Thomas DeiÃŸ
30-09-2008 00:14

Two editorial corrections in BNF for patterns.

(0006926)
Thomas DeiÃŸ
30-09-2008 00:43

In BNF, \N{...} did not allow to refer to Type. New corrected version: CR3760_CR3761_Grammar_03.doc