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

ID | Project | Category | View Status | Date Submitted | Last Update
0007057 | Part 09: Using XML with TTCN-3 | New Feature | public | 18-05-2015 13:42 | 19-12-2016 11:22

Reporter | Thilo Lauer |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.6.1 (published 2015-06) |
Target Version | v4.8.1 (published 2017-05) | Fixed in Version | v4.8.1 (published 2017-05) |
Clause Reference(s) | ES 201 873-9, section 7.7; Annex A (normative): TTCN-3 module XSD
For STF discussion |
Source (company - Author) | Devoteam - Thilo Lauer

Summary | 0007057: Extend the mapping of XSD any element and anyAttribute element to TTCN-3 anytype

Description

[new for any element:]
an XSD any element should be mapped to TTCN-3 anytype if the any value matches one of the XSD element types known to the test suite (except XSD.String); otherwise …
[use current mapping to XSD.string as default:]
the any element should be mapped to XSD.string as defined up to now in section 7.7.1 of ETSI ES 201 873-9
For details see the enclosed Word-document.
[new for anyAttribute element:]
an XSD anyAttribute element should be mapped to TTCN-3 anytype if the anyAttribute value matches one of the XSD attribute types known to the test suite (except XSD.String); otherwise …
[use current mapping to XSD.string as default:]
the anyAttribute element should be mapped to XSD.string as defined up to now in section 7.7.2 of ETSI ES 201 873-9
The predefinded types XSD.AnyType and XSD.AnySimpleType should be extended accordingly.

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

Relationships

related to | 0007126 | closed | Gyorgy Rethy | Part 01: TTCN-3 Core Language | Semantics of anytype not really usable

Attached Files

CR_extend XSD any and anyAttribute elements to TTCN-3 anytype.docx (53,091) 18-05-2015 13:42
http://oldforge.etsi.org/mantis/file_download.php?file_id=3210&type=bug
CR7057_extend XSD any and anyAttribute elements to TTCN-3 anytype_V2.docx (58,680) 25-06-2015 10:53
http://oldforge.etsi.org/mantis/file_download.php?file_id=3216&type=bug
CR7057.docx (713,776) 03-11-2015 11:49
http://oldforge.etsi.org/mantis/file_download.php?file_id=3351&type=bug
CR7057_v2.docx (394,922) 15-11-2016 16:23
http://oldforge.etsi.org/mantis/file_download.php?file_id=3525&type=bug
CR7057_v3.docx (395,017) 16-11-2016 11:21
http://oldforge.etsi.org/mantis/file_download.php?file_id=3531&type=bug

Issue History
Date Modified | Username | Field | Change
18-05-2015 13:42 | Thilo Lauer | New Issue |
18-05-2015 13:42 | Thilo Lauer | File Added: CR_extend XSD any and anyAttribute elements to TTCN-3 anytype.docx |
01-06-2015 09:58 | Gyorgy Rethy | Target Version | => v4.7.1 (published 2016-07)
25-06-2015 10:53 | Thilo Lauer | File Added: CR7057_extend XSD any and anyAttribute elements to TTCN-3 anytype_V2.docx |
25-06-2015 10:56 | Thilo Lauer | Note Added: 0012985 |
03-08-2015 13:34 | Gyorgy Rethy | Note Added: 0013032 |
03-08-2015 13:36 | Gyorgy Rethy | Note Edited: 0013032 | bug_revision_view_page.php?bugnote_id=13032#r132
03-08-2015 13:40 | Gyorgy Rethy | Assigned To | => Gyorgy Rethy
03-08-2015 13:40 | Gyorgy Rethy | Status | new => assigned
02-11-2015 10:11 | Jacob Wieland - Spirent | Assigned To | Gyorgy Rethy => Jacob Wieland - Spirent
03-11-2015 11:46 | Jacob Wieland - Spirent | File Added: CR7057.docx |
03-11-2015 11:47 | Jacob Wieland - Spirent | File Deleted: CR7057.docx |
03-11-2015 11:49 | Jacob Wieland - Spirent | File Added: CR7057.docx |
03-11-2015 11:51 | Jacob Wieland - Spirent | Note Added: 0013464 |
03-11-2015 11:51 | Jacob Wieland - Spirent | Assigned To | Jacob Wieland - Spirent => Gyorgy Rethy
03-11-2015 11:51 | Jacob Wieland - Spirent | Status | assigned => confirmed
07-01-2016 08:53 | Gyorgy Rethy | Priority | high => normal
18-07-2016 10:58 | Jens Grabowski | Assigned To | Gyorgy Rethy => KristÃ³f Szabados
18-07-2016 10:58 | Jens Grabowski | Status | confirmed => assigned
18-07-2016 10:58 | Jens Grabowski | Status | assigned => confirmed
17-08-2016 12:04 | Jacob Wieland - Spirent | Target Version | v4.7.1 (published 2016-07) => v4.8.1 (published 2017-05)
15-11-2016 16:23 | KristÃ³f Szabados | File Added: CR7057_v2.docx |
15-11-2016 16:23 | KristÃ³f Szabados | Note Added: 0014253 |
16-11-2016 09:47 | KristÃ³f Szabados | Relationship added | related to 0007126
16-11-2016 09:51 | KristÃ³f Szabados | Note Added: 0014257 |
16-11-2016 10:40 | KristÃ³f Szabados | Assigned To | KristÃ³f Szabados => Jens Grabowski
16-11-2016 10:40 | KristÃ³f Szabados | Status | confirmed => assigned
16-11-2016 10:40 | KristÃ³f Szabados | Note Added: 0014258 |
16-11-2016 11:21 | Jens Grabowski | File Added: CR7057_v3.docx |
16-11-2016 11:22 | Jens Grabowski | Note Added: 0014262 |
16-11-2016 11:23 | Jens Grabowski | Note Added: 0014263 |
16-11-2016 11:23 | Jens Grabowski | Status | assigned => resolved
16-11-2016 11:23 | Jens Grabowski | Resolution | open => fixed
16-11-2016 11:23 | Jens Grabowski | Assigned To | Jens Grabowski => Gyorgy Rethy
19-12-2016 11:22 | Gyorgy Rethy | Note Added: 0014459 |
19-12-2016 11:22 | Gyorgy Rethy | Status | resolved => closed
19-12-2016 11:22 | Gyorgy Rethy | Fixed in Version | => v4.8.1 (published 2017-05)

Notes

(0012985)
Thilo Lauer
25-06-2015 10:56

Additional Clarification, added 25.6.2015: "XSD elements with no assigned type" shall be mapped to XSD.anyType and as a consequence of this CR7057 to TTCN-3 anytype (defaulting to XSD.string) I have added a clarification for this related issue to version 2 of my uploaded word document.

(0013032)
Gyorgy Rethy
03-08-2015 13:34 (edited on: 03-08-2015 13:36)

STF discussion 03-08-2015: check if the change could be solved in a (at least partially) backward compatible way. Also, anytype contains only types from tjhe given module, how to decode AnyElement to any type from any module? Jacob to submit another CR to discuss extension of the definition of TTCN-3 anytype.

(0013464)
Jacob Wieland - Spirent
03-11-2015 11:51

added alternative mapping possibility for anyType, anySimpleType, any and anyAttribute (according to request). Left old way of mapping for backward compatibility. Otherwise, we could just deprecate the old mapping. please review

(0014253)
KristÃ³f Szabados
15-11-2016 16:23

corrected a word duplication and a missing import in the text

(0014257)
KristÃ³f Szabados
16-11-2016 09:51

The definition on the TTCN-3 anytype was extended in CR7126

(0014258)
KristÃ³f Szabados
16-11-2016 10:40

looks fine by me

(0014262)
Jens Grabowski
16-11-2016 11:22

Removed a few typos. Text ok. Set to resolved and assigned to György.

(0014263)
Jens Grabowski
16-11-2016 11:23

For implementation.

(0014459)
Gyorgy Rethy
19-12-2016 11:22

Added to draft V4.7.2