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

ID | Project | Category | View Status | Date Submitted | Last Update
0003311 | Part 09: Using XML with TTCN-3 | Clarification | public | 06-05-2008 13:27 | 02-10-2008 06:41

Reporter | user363 |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v3.3.1 (published 2008-04) |
Target Version | v4.1.1 (published 2009-06) | Fixed in Version | v4.1.1 (published 2009-06) |
Clause Reference(s) | 7.6.2.1
For STF discussion |
Source (company - Author) |

Summary | 0003311: Example for recursions of inner types to their outer type

Description

The following shall be added to clause 7.6.2.1:
Recursions of extending inner anonymous types to their outer type are realized using the dotted notation to name the inner type:
<xs:complexType name="X">
<xs:sequence>
<xs:element name="x" type="xs:string"/>
<xs:element name="y" minOccurs="0">
<xs:complexType>
<xs:complexContent>
<xs:extension base="X">
<xs:element name="z" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
This translates to the TTCN-3 structure
type record X {
String x,
record {
String x,
X.y y optional,
String z
} y optional
}
Reasoning:
This is not straightforward as it needs to use the dotted notation to reference inner types. So a clarifying example shall avoid tool-depended interpretations of the standard.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR3311_analysis_2008-07.ppt (32,768) 18-07-2008 09:36 http://oldforge.etsi.org/mantis/file_download.php?file_id=1558&type=bug

Issue History
Date Modified | Username | Field | Change
06-05-2008 13:27 | user363 | New Issue |
06-05-2008 13:27 | user363 | Status | new => assigned
06-05-2008 13:27 | user363 | Assigned To | => Gyorgy Rethy
06-05-2008 13:27 | user363 | Clause Reference(s) | => 7.6.2.1
06-05-2008 13:27 | user363 | Source (company - Author) | =>
09-05-2008 10:54 | Ina Schieferdecker | Target Version | => Edition 4.1.1 (not yet published)
18-07-2008 09:36 | Gyorgy Rethy | File Added: CR3311_analysis_2008-07.ppt |
18-07-2008 09:37 | Gyorgy Rethy | Note Added: 0006323 |
18-07-2008 09:37 | Gyorgy Rethy | Status | assigned => resolved
18-07-2008 09:37 | Gyorgy Rethy | Resolution | open => fixed
02-10-2008 06:41 | Gyorgy Rethy | Status | resolved => closed
02-10-2008 06:41 | Gyorgy Rethy | Note Added: 0006967 |
02-10-2008 06:41 | Gyorgy Rethy | Fixed in Version | => Edition 4.1.1 (not yet published)

Notes

(0006323)
Gyorgy Rethy
18-07-2008 09:37

Accepted with a minor change (see .ppt)

(0006967)
Gyorgy Rethy
02-10-2008 06:41

Added to draft