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

ID | Project | Category | View Status | Date Submitted | Last Update
0005165 | Part 09: Using XML with TTCN-3 | Technical | public | 08-05-2009 15:51 | 01-02-2010 08:58

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.2.1 (published 2010-07) | Fixed in Version | v4.2.1 (published 2010-07) |
Clause Reference(s) | 7.7
For STF discussion |
Source (company - Author) | L.M.Ericsson

Summary | 0005165: anyAttribute & anyElement should be attached to XSD.String in all cases

Description

For simple an "any" element or attribute a TTCN-3 XSD.String is generated and either the "anyAttribute" or "anyElement" TTCN-3 attribute is attached. When also a recurrence is defined in XSD (using the minOccurs and maxOccurs XSD attributes), a record of XSD.String field is generated in TTCN-3. In this latter case - this is the only exception in the mapping - the TTCN-3 attribute is not attached to the related type (XSD.String) but to the record of. This was specified in this way, because earlier versions of the Core did not allowed referring types embedded to record/set ofs. But v4.1.1 does allow this, hence this expetion shall be removed from Part-9. I.e. the example in $7.7 becomes:
type record E46b {
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant(elem_list[-]) "anyElement except unqualified"
}

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR5165_resolution v1.doc (152,576) 01-09-2009 15:23 http://oldforge.etsi.org/mantis/file_download.php?file_id=2227&type=bug CR5165_resolution v2.doc (148,992) 08-12-2009 07:47 http://oldforge.etsi.org/mantis/file_download.php?file_id=2288&type=bug

Issue History
Date Modified | Username | Field | Change
08-05-2009 15:51 | Gyorgy Rethy | New Issue |
08-05-2009 15:51 | Gyorgy Rethy | Status | new => assigned
08-05-2009 15:51 | Gyorgy Rethy | Assigned To | => Gyorgy Rethy
08-05-2009 15:51 | Gyorgy Rethy | Clause Reference(s) | => 7.7
08-05-2009 15:51 | Gyorgy Rethy | Source (company - Author) | => L.M.Ericsson
08-05-2009 15:52 | Gyorgy Rethy | Summary | anyAttribute & anyElement should be attached to the relevant type => anyAttribute & anyElement should be attached to XSD.String in all cases
30-06-2009 10:28 | Ina Schieferdecker | Target Version | => Edition 4.2.1 (not yet published)
01-09-2009 15:23 | Gyorgy Rethy | Note Added: 0008952 |
01-09-2009 15:23 | Gyorgy Rethy | File Added: CR5165_resolution v1.doc |
01-09-2009 15:24 | Gyorgy Rethy | Note Edited: 0008952 |
01-09-2009 15:24 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker
01-09-2009 15:25 | Gyorgy Rethy | Resolution | open => fixed
02-09-2009 10:08 | Gyorgy Rethy | Note Added: 0008959 |
08-12-2009 07:46 | Ina Schieferdecker | Note Added: 0009092 |
08-12-2009 07:47 | Ina Schieferdecker | File Added: CR5165_resolution v2.doc |
08-12-2009 07:47 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Gyorgy Rethy
08-12-2009 07:47 | Ina Schieferdecker | Status | assigned => resolved
01-02-2010 08:58 | Gyorgy Rethy | Status | resolved => closed
01-02-2010 08:58 | Gyorgy Rethy | Note Added: 0009170 |
01-02-2010 08:58 | Gyorgy Rethy | Fixed in Version | => Edition 4.2.1 (not yet published)

Notes

(0008952)
Gyorgy Rethy
01-09-2009 15:23 (edited on: 01-09-2009 15:24)

CR5165_resolution v1.doc: draft of the CR resolution; ready to be checked.

(0008959)
Gyorgy Rethy
02-09-2009 10:08

In case of anyAttribute, always a record of XSD.String is generated for an anyAttribute, therefore it is OK to attach the TTCN-3 attribute to the record of. It is only the XSD.String generated for an any element that normally is a simple XSD.String but shall be embedded into a record of in a specific case.

(0009092)
Ina Schieferdecker
08-12-2009 07:46

ok, some minor fixes only - see v2.

(0009170)
Gyorgy Rethy
01-02-2010 08:58

Implemented as in CR5165_resolution v2.doc