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

ID | Project | Category | View Status | Date Submitted | Last Update
0006721 | Part 09: Using XML with TTCN-3 | Clarification | public | 10-04-2014 08:59 | 31-12-2014 11:48

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.2 (interim 2014) |
Target Version | v4.6.1 (published 2015-06) | Fixed in Version | v4.6.1 (published 2015-06) |
Clause Reference(s) | 7.3
For STF discussion |
Source (company - Author) | STF 478

Summary | 0006721: Rules on the use of the ref attribute in element definitions

Description

The rules on conversion of local elements defined by reference are somehow unclear. In the section 7.3, the description of the procedure used for generating the element type is described as follows: "the type of the field shall be the type resulted by mapping the type of the XSD element as specified for global elements".
However, it is not clear whether in case of referenced elements, the type generated for the referenced global element shall be used (which seem to be the case in examples) or this procedure should be repeated for the local element generating copy of the global type locally.
As I don't see any obstacles for using the type reference instead of the copy, I propose the following change of the above mentioned rules:
...the type of the field shall be the type into which a referenced global element is mapped or the type resulted by mapping the type of the locally defined XSD element using the procedure specified for global elements...
No examples have to be changed as they already follow these rules.

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

Relationships

related to | 0006719 | closed | Gyorgy Rethy | Mapping of nillable complex elements is not correct

Attached Files | CR6721_resolution_v1.doc (90,624) 12-12-2014 14:41 http://oldforge.etsi.org/mantis/file_download.php?file_id=3197&type=bug

Issue History
Date Modified | Username | Field | Change
10-04-2014 08:59 | Tomas Urban | New Issue |
10-04-2014 08:59 | Tomas Urban | Status | new => assigned
10-04-2014 08:59 | Tomas Urban | Assigned To | => Gyorgy Rethy
10-04-2014 09:07 | Tomas Urban | Relationship added | related to 0006719
12-12-2014 14:41 | Gyorgy Rethy | File Added: CR6721_resolution_v1.doc |
12-12-2014 14:46 | Gyorgy Rethy | Note Added: 0012546 |
12-12-2014 14:46 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Tomas Urban
12-12-2014 14:46 | Gyorgy Rethy | Status | assigned => confirmed
12-12-2014 14:46 | Gyorgy Rethy | Product Version | => v4.5.2 (interim 2014)
15-12-2014 09:16 | Tomas Urban | Note Added: 0012548 |
15-12-2014 09:16 | Tomas Urban | Status | confirmed => resolved
15-12-2014 09:16 | Tomas Urban | Resolution | open => fixed
15-12-2014 09:16 | Tomas Urban | Assigned To | Tomas Urban => Gyorgy Rethy
31-12-2014 11:48 | Gyorgy Rethy | Note Added: 0012596 |
31-12-2014 11:48 | Gyorgy Rethy | Status | resolved => closed
31-12-2014 11:48 | Gyorgy Rethy | Fixed in Version | => v4.6.1 (published 2015-06)

Notes

(0012546)
Gyorgy Rethy
12-12-2014 14:46

I propose even a more categorical correction of the text; see and review CR6721_resolution_v1.doc

(0012548)
Tomas Urban
15-12-2014 09:16

The proposed resolution solves the CR and can be added to the next version of the TTCN-3 specification.

(0012596)
Gyorgy Rethy
31-12-2014 11:48

Added to draft V4.5.3