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

ID | Project | Category | View Status | Date Submitted | Last Update
0005092 | Part 01: TTCN-3 Core Language | Clarification | public | 17-04-2009 16:12 | 13-04-2010 13:18

Reporter | Wolfgang Seka |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | reopened |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.2.1 (published 2010-07) | Fixed in Version | v4.2.1 (published 2010-07) |
Clause Reference(s) | 7.1.2
Source (company - Author) |

Summary | 0005092: String concatination is not possible for string templates

Description

String concatination is define in clause 7.1.2 "... concatenation of values of compatible string types ...";
=> it is not possible to construct templates for strings by concatenating string templates.
Example:
// we expect an octetstring being received and the first N octets are out of interrest then there is a part to be checked and the rest is "don't care".
var integer N := 8;
var template octetstring v_Octetstring;
var template octetstring v_LeadingOctets := ? length(N);
var octetstring v_ExpectetPattern := "01234567"O
v_Octetstring := v_LeadingOctets & v_ExpectetPattern & '*'O; // this is not allowed

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

Relationships

related to | 0005513 | closed | Ina Schieferdecker | resolution of CR5092 contains bogus examples for charstring

Attached Files | CR5092_resolution_v1.doc (174,080) 04-09-2009 09:38 http://oldforge.etsi.org/mantis/file_download.php?file_id=2237&type=bug CR5092_resolution_v2.doc (172,032) 09-12-2009 15:13 http://oldforge.etsi.org/mantis/file_download.php?file_id=2309&type=bug

Issue History
Date Modified | Username | Field | Change
17-04-2009 16:12 | Wolfgang Seka | New Issue |
17-04-2009 16:12 | Wolfgang Seka | Clause Reference(s) | => 7.1.2
17-04-2009 16:12 | Wolfgang Seka | Source (company - Author) | =>
20-04-2009 10:51 | Ina Schieferdecker | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
20-04-2009 10:54 | Ina Schieferdecker | Assigned To | => Gyorgy Rethy
20-04-2009 10:54 | Ina Schieferdecker | Status | new => assigned
20-04-2009 10:54 | Ina Schieferdecker | Category | TTCN-3 Core Language => Clarification
20-04-2009 10:54 | Ina Schieferdecker | Target Version | => Edition 4.2.1 (not yet published)
03-09-2009 18:53 | Gyorgy Rethy | File Added: CR5092_resolution_v1.doc |
04-09-2009 09:38 | Gyorgy Rethy | File Deleted: CR5092_resolution_v1.doc |
04-09-2009 09:38 | Gyorgy Rethy | File Added: CR5092_resolution_v1.doc |
04-09-2009 09:39 | Gyorgy Rethy | Note Added: 0008977 |
04-09-2009 09:40 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker
04-09-2009 09:40 | Gyorgy Rethy | Resolution | open => fixed
04-09-2009 09:40 | Gyorgy Rethy | Fixed in Version | => Edition 4.2.1 (not yet published)
09-12-2009 15:12 | Ina Schieferdecker | Note Added: 0009123 |
09-12-2009 15:13 | Ina Schieferdecker | File Added: CR5092_resolution_v2.doc |
09-12-2009 15:13 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Gyorgy Rethy
16-02-2010 07:38 | Ina Schieferdecker | Status | assigned => resolved
16-02-2010 07:39 | Ina Schieferdecker | Status | resolved => closed
13-04-2010 12:42 | Jacob Wieland - Spirent | Status | closed => feedback
13-04-2010 12:42 | Jacob Wieland - Spirent | Resolution | fixed => reopened
13-04-2010 12:42 | Jacob Wieland - Spirent | Note Added: 0009328 |
13-04-2010 13:18 | Gyorgy Rethy | Note Added: 0009329 |
13-04-2010 13:18 | Gyorgy Rethy | Status | feedback => closed
14-04-2010 15:26 | Jacob Wieland - Spirent | Relationship added | related to 0005513

Notes

(0008977)
Gyorgy Rethy
04-09-2009 09:39

CR5092_resolution_v1.doc: draft for resolution; ready for review.

(0009123)
Ina Schieferdecker
09-12-2009 15:12

Only some rewording - please check v2

(0009328)
Jacob Wieland - Spirent
13-04-2010 12:42

In the examples for the resolution, the 'pattern' is missing for all char templates. Since pattern "a?b" has a different semantics than "a?b", I think this should be fixed.
The question then is, has pattern a higher priority or has & the higher priority, I.e. do I have to write
pattern E1 & E1
or
pattern E1 & pattern E1
if E1 and E2 are two charstring literals which contain pattern matching symbols

(0009329)
Gyorgy Rethy
13-04-2010 13:18

Closed CRs should be re-opened by the submiter only. This CR is not about patterns, concatenation of patterns have solved earlier, in CR3761. This CR is about concatenating templates when its content is non-pattern.