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

ID | Project | Category | View Status | Date Submitted | Last Update
0006796 | Part 09: Using XML with TTCN-3 | Technical | public | 22-09-2014 12:38 | 07-10-2014 15:56

Reporter | Tomas Urban |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.5.1 (published 2013-04) |
Target Version | v4.6.1 (published 2015-06) | Fixed in Version | v4.6.1 (published 2015-06) |
Clause Reference(s) | 7.6.5.4
For STF discussion |
Source (company - Author) | STF 475

Summary | 0006796: Invalid example on nested sequence inside choice

Description

The example 2 in the chapter 7.6.5.4 is invalid. There's a nested sequence inside a nested sequence. This kind of nesting is described in the chapter 7.6.6.4 and according to the rules specified there, it shall not produce an additional record wrapper. Correct mapping would be:
type record E34b {
union {
record {
XSD.String foo,
XSD.String bar
XSD.String ding,
XSD.String foo_1,
XSD.String bar_1
} sequence,
XSD.String ding
} choice
}
with {
variant "name as uncapitalized ";
variant(choice, choice.sequence) "untagged";
variant(choice.sequence.foo_1) "name as 'foo'"
variant(choice.sequence.bar_1) "name as 'bar'"
}

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
22-09-2014 12:38 | Tomas Urban | New Issue |
06-10-2014 10:47 | Gyorgy Rethy | Assigned To | => Gyorgy Rethy
06-10-2014 10:47 | Gyorgy Rethy | Status | new => assigned
07-10-2014 15:56 | Gyorgy Rethy | Note Added: 0012260 |
07-10-2014 15:56 | Gyorgy Rethy | Status | assigned => closed
07-10-2014 15:56 | Gyorgy Rethy | Resolution | open => fixed
07-10-2014 15:56 | Gyorgy Rethy | Fixed in Version | => v4.6.1 (published 2015-06)

Notes

(0012260)
Gyorgy Rethy
07-10-2014 15:56

Comment is valid, example has been corrected in the master copy V4.5.3 as proposed by the CR.