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

ID | Project | Category | View Status | Date Submitted | Last Update
0005941 | Part 01: TTCN-3 Core Language | Clarification | public | 04-10-2011 15:31 | 16-12-2011 05:19

Reporter | Gyorgy Rethy |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.4.1 (published 2012-04) | Fixed in Version | v4.4.1 (published 2012-04) |
Clause Reference(s) | C.29
Source (company - Author) | L.M.Ericsson

Summary | 0005941: What lenghtof shall return for record of templates with uninitialized elements?

Description

The current text says:
"The parameter inpar shall only match values, for which the lengthof function would give the same result."
However, this description doesn't fit to case when the template contains uninitialize elements (what such template would match?).
It is proposed to complete the sentence:
""The parameter inpar shall only match values, for which the lengthof function would give the same result; for the purpose of this evaluation uninitialized elements shall be handled as they contained the AnyElement matching mechanism."
"

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

Relationships

related to | 0005944 | closed | Ina Schieferdecker | Misleading sentence for lengthof for arrays.

Attached Files | CR5941_resolution_v2.doc (81,408) 02-12-2011 10:23 http://oldforge.etsi.org/mantis/file_download.php?file_id=2654&type=bug

Issue History
Date Modified | Username | Field | Change
04-10-2011 15:31 | Gyorgy Rethy | New Issue |
04-10-2011 15:31 | Gyorgy Rethy | Clause Reference(s) | => C.29
04-10-2011 15:31 | Gyorgy Rethy | Source (company - Author) | => L.M.Ericsson
06-10-2011 11:45 | Gyorgy Rethy | Fixed in Version | => Edition 4.4.1
28-11-2011 16:29 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker
28-11-2011 16:29 | Gyorgy Rethy | Status | new => assigned
28-11-2011 16:29 | Gyorgy Rethy | Fixed in Version | Edition 4.4.1 =>
28-11-2011 16:29 | Gyorgy Rethy | Target Version | => Edition 4.4.1
29-11-2011 10:05 | Ina Schieferdecker | Note Added: 0010373 |
29-11-2011 10:06 | Ina Schieferdecker | Note Added: 0010374 |
29-11-2011 10:06 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Gyorgy Rethy
02-12-2011 10:23 | Gyorgy Rethy | Note Added: 0010503 |
02-12-2011 10:23 | Gyorgy Rethy | File Added: CR5941_resolution_v2.doc |
02-12-2011 10:23 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker
02-12-2011 14:01 | Ina Schieferdecker | Note Added: 0010525 |
02-12-2011 14:06 | Ina Schieferdecker | Relationship added | related to 0005944
16-12-2011 05:19 | Ina Schieferdecker | Status | assigned => resolved
16-12-2011 05:19 | Ina Schieferdecker | Resolution | open => fixed
16-12-2011 05:19 | Ina Schieferdecker | Fixed in Version | => Edition 4.4.1
16-12-2011 05:19 | Ina Schieferdecker | Status | resolved => closed

Notes

(0010373)
Ina Schieferdecker
29-11-2011 10:05

Proposed to change to
"In case of string-type templates, the inpar template shall match values of the same length only. If inpar contains uninitialized elements, these shall be handled as if they would be "*" (AnyElementsOrNone inside value)."
"In case of templates of record of or set of types, the inpar template shall match values for which the lengthof function would give the same result only. If inpar contains uninitialized elements, these shall be handled as if they would be "*" (AnyElementsOrNone inside value)."
And adding before the paragraphs on templates for lengthof the following:
"When the function lengthof is applied to string-type templates or to templates of record of or set of types, the length is to be determined by the length of values defined in the template or by the length restriction matching attribute of that template if matching attributes like "*" (AnyElementsOrNone instead of a value) are used that do not predetermine the length."

(0010374)
Ina Schieferdecker
29-11-2011 10:06

Please check resolution noted above.

(0010503)
Gyorgy Rethy
02-12-2011 10:23

See resolution proosal in file in CR5941_resolution_v2.doc. Pls. review.

(0010525)
Ina Schieferdecker
02-12-2011 14:01

as proposed.