ETSI's Bug Tracker - Part 09: Using XML with TTCN-3
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0005881 | Part 09: Using XML with TTCN-3 | Technical | public | 28-04-2011 13:00 | 13-07-2011 14:21

Reporter | Jacob Wieland - Spirent |
Assigned To | Jacob Wieland - Spirent |
Priority | high | Severity | major | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version |  |
Clause Reference(s) | XSD Language Mapping, section 7.1.4
For STF discussion |
Source (company - Author) | Testing Technologies - Jacob Wieland

Summary | 0005881: Problematic sentence in section 7.1.4

Description

The following sentence is problematic:
"
The initial name of the field shall
be postfixed with "_list", the encoding instruction "untagged" shall be attached to the outer record of and, finally, if
no "untagged" encoding instruction is attached to the inner TTCN-3 type being iterated, a "name as â€™<initial name>â€™"
encoding instruction shall be attached to the inner type, where <initial name> is the name resulted from applying
clause 5.2.2 to the name of the XSD component being translated.
"
When encoding, the name-tag should, in our opinion, be the name as defined in the schema (i.e. BEFORE and not AFTER applying clause 5.2.2. to the name).
However, the _list suffix should, of course, be added to the name AFTER applying clause 5.2.2.
This, though, causes names that clash with TTCN-3 reserved words (keywords and predefined functions) to end up with a double __, i.e. display__list. Maybe, a special rule should be introduced here that trailing '_' should be stripped before adding the _list suffix.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR5881_resolution_v1.doc (109,568) 25-05-2011 16:43 http://oldforge.etsi.org/mantis/file_download.php?file_id=2491&type=bug

Issue History
Date Modified | Username | Field | Change
28-04-2011 13:00 | Jacob Wieland - Spirent | New Issue |
28-04-2011 13:00 | Jacob Wieland - Spirent | Clause Reference(s) | => XSD Language Mapping, section 7.1.4
28-04-2011 13:00 | Jacob Wieland - Spirent | Source (company - Author) | => Testing Technologies - Jacob Wieland
24-05-2011 12:26 | Gyorgy Rethy | Note Added: 0010009 |
24-05-2011 12:26 | Gyorgy Rethy | Status | new => assigned
24-05-2011 12:26 | Gyorgy Rethy | Assigned To | => Gyorgy Rethy
24-05-2011 12:27 | Gyorgy Rethy | Note Edited: 0010009 |
24-05-2011 19:05 | Gyorgy Rethy | Target Version | => Edition 4.3.2 (interim)
24-05-2011 19:14 | Gyorgy Rethy | Priority | normal => high
25-05-2011 16:43 | Gyorgy Rethy | File Added: CR5881_resolution_v1.doc |
25-05-2011 16:44 | Gyorgy Rethy | Note Added: 0010065 |
25-05-2011 16:44 | Gyorgy Rethy | Note Edited: 0010065 |
25-05-2011 16:44 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Jacob Wieland - Spirent
25-05-2011 16:55 | Jacob Wieland - Spirent | Note Added: 0010068 |
25-05-2011 16:57 | Jacob Wieland - Spirent | Status | assigned => resolved
25-05-2011 16:57 | Jacob Wieland - Spirent | Resolution | open => fixed
13-07-2011 14:21 | Gyorgy Rethy | Status | resolved => closed
13-07-2011 14:21 | Gyorgy Rethy | Note Added: 0010214 |
13-07-2011 14:21 | Gyorgy Rethy | Fixed in Version | => Edition 4.3.2 (interim)

Notes

(0010009)
Gyorgy Rethy
24-05-2011 12:26 (edited on: 24-05-2011 12:27)

Comment is correct, but cl.5.2.2 shall be applied after adding the _list postfix to the name of the TTCN-3 field. Add an example to the standard and correct text.

(0010065)
Gyorgy Rethy
25-05-2011 16:44

See proposed solution in CR5881_resolution_v1.doc. Jacob, pls. review.

(0010068)
Jacob Wieland - Spirent
25-05-2011 16:55

It's OK.

(0010214)
Gyorgy Rethy
13-07-2011 14:21

Added to master copy