Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007112Part 01: TTCN-3 Core LanguageNew Featurepublic27-07-2015 11:1911-12-2015 15:23
ReporterJacob Wieland - Spirent 
Assigned ToGyorgy Rethy 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Versionv4.8.1 (published 2016-07)Fixed in Versionv4.8.1 (published 2016-07) 
Summary0007112: allow different syntax for binary string types
DescriptionIt is very often a hassle to convert a binary representation taken from some other tool into a TTCN-3 octestsring or bitstring.

In normal representations, there are often spaces allowed between groups of digits or there are prefixes like 0x or 0b in front of some digit groups.

It would be very convenient if such a representation could be used directly in TTCN-3 as well so that no conversion would be necessary anymore.

Also, the strings can thus be structured and made more readable. Better readability almost always improves the quality of code.

Minimally, allowing spaces would be sufficient. For convenience sake allowing newlines and 0x/0b prefixes would be a bonus.
TagsNo tags attached.
Clause Reference(s)6.1.1., A.1.6.6.
Source (company - Author)Testing Technologies - Jacob Wieland
Attached Filesdocx file icon CR7112_resolution_v1b.docx [^] (34,757 bytes) 06-08-2015 15:34
docx file icon CR7112_resolution_v2b.docx [^] (35,193 bytes) 07-08-2015 12:34

- Relationships

-  Notes
(0013023)
Gyorgy Rethy (reporter)
03-08-2015 11:07

STF discussion 03-08-2015: Agreed to allow spaces. Analyse also possible introduction of alternative syntaxes.
(0013119)
Axel Rennoch (developer)
06-08-2015 15:35

following the discussion the uploaded file considers spaces and newlines, but not 0x/0b prefixes.
(0013120)
Axel Rennoch (developer)
06-08-2015 15:36

Please check the uploaded proposed solution for correctness.
(0013122)
Jacob Wieland - Spirent (reporter)
07-08-2015 09:03

Small amendment, the newline shall consist of 'any combination of the newline characters that constitute a newline' (i.e. under windows CR LF is just ONE newline). Known combinations (to me) are: CR LF (windows), LF (linux), CR (macos). Maybe this should be reflected in the BNF rule.

NLChar ::= CR [LF] | LF | VT
(0013142)
Axel Rennoch (developer)
07-08-2015 12:35

final rewording to consider windows newlines (CR LF)
(0013601)
Gyorgy Rethy (reporter)
11-12-2015 15:23

Added to draft V4.7.4

- Issue History
Date Modified Username Field Change
27-07-2015 11:19 Jacob Wieland - Spirent New Issue
03-08-2015 11:07 Gyorgy Rethy Note Added: 0013023
03-08-2015 11:07 Gyorgy Rethy Assigned To => Axel Rennoch
03-08-2015 11:07 Gyorgy Rethy Status new => assigned
04-08-2015 09:08 Gyorgy Rethy Project TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
06-08-2015 13:05 Jacob Wieland - Spirent Target Version => v4.8.1 (published 2016-07)
06-08-2015 15:34 Axel Rennoch File Added: CR7112_resolution_v1b.docx
06-08-2015 15:35 Axel Rennoch Note Added: 0013119
06-08-2015 15:36 Axel Rennoch Note Added: 0013120
06-08-2015 15:36 Axel Rennoch Assigned To Axel Rennoch => Jacob Wieland - Spirent
06-08-2015 15:36 Axel Rennoch Status assigned => acknowledged
07-08-2015 09:03 Jacob Wieland - Spirent Note Added: 0013122
07-08-2015 12:34 Axel Rennoch File Added: CR7112_resolution_v2b.docx
07-08-2015 12:35 Axel Rennoch Note Added: 0013142
07-08-2015 12:35 Axel Rennoch Status acknowledged => resolved
07-08-2015 12:35 Axel Rennoch Resolution open => fixed
07-08-2015 12:35 Axel Rennoch Assigned To Jacob Wieland - Spirent => Gyorgy Rethy
04-11-2015 14:02 Gyorgy Rethy Fixed in Version => v4.8.1 (published 2016-07)
11-12-2015 15:23 Gyorgy Rethy Note Added: 0013601
11-12-2015 15:23 Gyorgy Rethy Status resolved => closed


MantisBT 1.2.14 [^]
Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker