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

ID | Project | Category | View Status | Date Submitted | Last Update
0002144 | Part 09: Using XML with TTCN-3 | Technical | public | 15-10-2007 10:35 | 20-04-2009 12:20

Reporter | Gyorgy Rethy |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | always
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.1.1 (published 2009-06) | Fixed in Version | v4.1.1 (published 2009-06) |
Clause Reference(s) | Parts 7,8,9,11
For STF discussion |
Source (company - Author) | L.M. Ericsson

Summary | 0002144: TTCN-3 reserved words used in other languages
Description | When mapping ASN.1/IDL/XSD etc. to TTCN-3 it often happens that TTCN-3 reserved words (keywords+predefined function&type names) are used in the other language as identifier. Today this situation is not handled in the mapping parts of the TTCN-3 standard.
Steps To Reproduce |

Additional Information

There are at least two options to solve this problem:
- specify standard pre/post-fixes for TTCN-3 reserved words: simple solution but when adding new reserved words to the language elder TTCN-3 modules shall be also updated;
- allow using TTCN-3 keywords as identifiers (still, predefined function&type names could be used as identifiers with limitation): modern tools are able to distinguish the role of a word based on the context.

Tags | No tags attached.
Relationships |
Attached Files | CR2144 - Resolution for Part-9.doc (84,992) 22-04-2008 11:42 http://oldforge.etsi.org/mantis/file_download.php?file_id=1427&type=bug CR2144 - Resolution for Part-9 v2.doc (115,712) 21-10-2008 18:28 http://oldforge.etsi.org/mantis/file_download.php?file_id=1716&type=bug

Issue History
Date Modified | Username | Field | Change
15-10-2007 10:35 | Gyorgy Rethy | New Issue |
15-10-2007 10:35 | Gyorgy Rethy | Status | new => assigned
15-10-2007 10:35 | Gyorgy Rethy | Assigned To | => Gyorgy Rethy
15-10-2007 10:35 | Gyorgy Rethy | Clause Reference(s) | => Parts 7,8,9,11
15-10-2007 10:35 | Gyorgy Rethy | Source (company - Author) | => L.M. Ericsson
15-10-2007 17:44 | Ina Schieferdecker | Assigned To | Gyorgy Rethy => Jens Grabowski
18-10-2007 13:46 | Ina Schieferdecker | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
18-10-2007 14:01 | Ina Schieferdecker | Target Version | => Edition 3.3.1 (not yet published)
03-12-2007 13:46 | Jens Grabowski | Project | Part 01: TTCN-3 Core Language => Part 07: Using ASN.1 with TTCN-3
03-12-2007 13:47 | Jens Grabowski | Note Added: 0004229 |
03-12-2007 13:48 | Jens Grabowski | Assigned To | Jens Grabowski => Gyorgy Rethy
03-12-2007 13:48 | Jens Grabowski | Target Version | Edition 3.3.1 (not yet published) =>
10-03-2008 14:31 | Thomas DeiÃŸ | Note Added: 0005184 |
12-03-2008 14:55 | Ina Schieferdecker | Assigned To | Gyorgy Rethy => Ina Schieferdecker
12-03-2008 15:00 | Ina Schieferdecker | Note Added: 0005213 |
21-04-2008 08:52 | Ina Schieferdecker | Target Version | => Edition 4.1.1 (not yet published)
22-04-2008 11:41 | Gyorgy Rethy | Note Added: 0005491 |
22-04-2008 11:42 | Gyorgy Rethy | File Added: CR2144 - Resolution for Part-9.doc |
13-10-2008 14:45 | Gyorgy Rethy | Note Added: 0007042 |
21-10-2008 15:02 | Gyorgy Rethy | Note Deleted: 0007042 |
21-10-2008 18:28 | Gyorgy Rethy | File Added: CR2144 - Resolution for Part-9 v2.doc |
21-10-2008 18:30 | Gyorgy Rethy | Note Added: 0007140 |
21-10-2008 18:33 | Gyorgy Rethy | Note Edited: 0007140 |
28-11-2008 12:40 | Ina Schieferdecker | Project | Part 07: Using ASN.1 with TTCN-3 => ETSI Plugtest Test Reporting Tool
28-11-2008 13:27 | Ina Schieferdecker | Note Added: 0007503 |
28-11-2008 14:31 | user10 | Project | ETSI Plugtest Test Reporting Tool => Part 09: Using XML with TTCN-3
12-12-2008 09:47 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Gyorgy Rethy
20-04-2009 12:20 | Ina Schieferdecker | Status | assigned => closed
20-04-2009 12:20 | Ina Schieferdecker | Resolution | open => fixed
20-04-2009 12:20 | Ina Schieferdecker | Fixed in Version | => Edition 4.1.1 (not yet published)

Notes

(0004229)
Jens Grabowski
03-12-2007 13:47

Is only an issue for the ASN.1 mapping as the IDL and the XSD mappings define rules for this. CR is moved to Part 7.

(0005184)
Thomas DeiÃŸ
10-03-2008 14:31

STF 349: Has been resolved in ASN.1, part 7 edition 3.3.1. clause 8.2: When TTCN-3 keywords are used as identifiers in ASN.1 modules, these identifiers shall be appended with a single underscore "_" character at import. Use the same solution for all language mappings.

(0005213)
Ina Schieferdecker
12-03-2008 15:00

Fixed in part 8, edition 3.3.1. Awaiting draft for part 9 to check it as well.

(0005491)
Gyorgy Rethy
22-04-2008 11:41

pls. see the uploaded doc for my proposal. Unfortunately, I missed to add it to v3.3.1. Nevertheless, this is not a backward-compatibility issue, as names that would result in TTCN-3 reserved words shall be renamed in XSD with v3.3.1

(0007140)
Gyorgy Rethy
21-10-2008 18:30 (edited on: 21-10-2008 18:33)

Version 2 of the proposed solution for Part-9 is uploaded. We should move this CR to Part-9 that people searching for Part-9 CRs also could see this one.

(0007503)
Ina Schieferdecker
28-11-2008 13:27

The rules seem to be ok except of that name clashes should be resolved with respect to a given scope only.