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

ID | Project | Category | View Status | Date Submitted | Last Update
0006755 | Part 01: TTCN-3 Core Language | New Feature | public | 29-04-2014 09:19 | 10-10-2014 10:43

Reporter | Gyorgy Rethy |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | major | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.7.1 (published 2015-06) |
Target Version | v4.7.1 (published 2015-06) | Fixed in Version | v4.7.1 (published 2015-06) |
Clause Reference(s) | new C.5.X
Source (company - Author) | L.M.Ericsson

Summary | 0006755: Predefined function to remove BOMs from universal charstring

Description

Unicode strings may have initial octets (BOMs) identifying the type of the string encoding. In cases, when this needs to be removed (e.g. if relaying a string or the string should be used as a binary payload without BOMs). BOMs are optional, and if present, the length depend on the type of encoding. Therefore, removing BOMs cannot be solved in TTCN-3 a simple way by e.g. calling a substr function.
We propose to add the predefined function
function remove_bom(in octetstring encoded_value) return octetstring;
It will strip the BOMs if they are present and return the original octetstring otherwise.

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

Relationships

duplicate of | 0006754 | closed | Gyorgy Rethy | Predefined function to identify unicode string encoding automatically

Attached Files | draft-res-6755.docx (16,913) 07-10-2014 15:15 http://oldforge.etsi.org/mantis/file_download.php?file_id=3099&type=bug

Issue History
Date Modified | Username | Field | Change
29-04-2014 09:19 | Gyorgy Rethy | New Issue |
13-06-2014 15:40 | Gyorgy Rethy | Target Version | => v4.7.1 (published 2015-06)
17-06-2014 11:55 | Gyorgy Rethy | Note Added: 0012101 |
17-06-2014 11:56 | Gyorgy Rethy | Assigned To | => Axel Rennoch
17-06-2014 11:56 | Gyorgy Rethy | Status | new => assigned
07-10-2014 15:15 | Axel Rennoch | File Added: draft-res-6755.docx |
07-10-2014 15:15 | Axel Rennoch | Assigned To | Axel Rennoch => Gyorgy Rethy
07-10-2014 15:15 | Axel Rennoch | Status | assigned => confirmed
08-10-2014 15:23 | Gyorgy Rethy | Relationship added | duplicate of 0006754
08-10-2014 15:24 | Gyorgy Rethy | Note Added: 0012285 |
10-10-2014 10:43 | Gyorgy Rethy | Note Added: 0012351 |
10-10-2014 10:43 | Gyorgy Rethy | Status | confirmed => closed
10-10-2014 10:43 | Gyorgy Rethy | Resolution | open => fixed
10-10-2014 10:43 | Gyorgy Rethy | Fixed in Version | => v4.7.1 (published 2015-06)

Notes

(0012101)
Gyorgy Rethy
17-06-2014 11:55

STF discussion: Control of BOM presence could be needed also for encode.

(0012285)
Gyorgy Rethy
08-10-2014 15:24

This CR is merged into CR 6754, because the two functions are closely related and should be discussed and changed in a synchronized way.

(0012351)
Gyorgy Rethy
10-10-2014 10:43

Resolution is included into CR6754!