Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006719Part 09: Using XML with TTCN-3Technicalpublic09-04-2014 15:2231-12-2014 11:43
ReporterGyorgy Rethy 
Assigned ToGyorgy Rethy 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versionv4.5.1 (published 2013-04) 
Target Versionv4.6.1 (published 2015-06)Fixed in Versionv4.6.1 (published 2015-06) 
Summary0006719: Mapping of nillable complex elements is not correct
DescriptionClause 7.1.11 specifies that the whole content of nillable complex elements shall be enframed by an additional "record{...} content optional" plus the useNil instruction construct. However, this is true for the contained elements only: if the complex type has also attributes, these still may be present in the encoded XML. Therefore, the extra record generated for the nillable attribute shall enframe the complex type's elements only and the complex type's attributes shall be outside of the record.
TagsNo tags attached.
Clause Reference(s)7.1.11
For STF discussion
Source (company - Author)L.M.Ericsson
Attached Filesdoc file icon CR6719_nillable_Resolution_v1.doc [^] (89,088 bytes) 09-04-2014 16:52
doc file icon CR6719_nillable_Resolution_v2.doc [^] (90,112 bytes) 10-04-2014 09:10
doc file icon CR6719_nillable_resolution_v3.doc [^] (92,672 bytes) 10-04-2014 15:32

- Relationships
related to 0006721closedGyorgy Rethy Rules on the use of the ref attribute in element definitions 

-  Notes
(0011979)
Gyorgy Rethy (reporter)
09-04-2014 16:54

Proposed resolution is in CR6719_nillable_Resolution_v1.doc. Please review.
(0011983)
Tomas Urban (developer)
10-04-2014 09:09

Fine by me. I only changed the code generated for the referenced nillable element and added the result of this element transformation (see the related issue for more information).
Please check.
(0011985)
Jacob Wieland - Spirent (reporter)
10-04-2014 10:02

Some more clarification/specification is needed in regard to the relationship between the content-field and the attribute fields, i.e. their order and nameclash-resolution (i.e. what happens if the mangling of attribute-names also yield "content" - which takes precedence?)
(0012013)
Gyorgy Rethy (reporter)
10-04-2014 15:32

In example 2 "UseNil" has to be attached to the top-level record and not to its "content" field: corrected both in the text and in the example.

Handling of possible name clashes has been added to the new paragraph of $7.1.11 and to the text of $B.3.15. Also, an explanatory note is added to B.3.15.

See in CR6719_nillable_resolution_v3.doc.
(0012017)
Tomas Urban (developer)
11-04-2014 09:24

I have found no issues in the proposed resolution.
The changes can be added to the next version of the standard.
(0012595)
Gyorgy Rethy (reporter)
31-12-2014 11:43

Added to draft V4.5.3

- Issue History
Date Modified Username Field Change
09-04-2014 15:22 Gyorgy Rethy New Issue
09-04-2014 16:51 Gyorgy Rethy Assigned To => Gyorgy Rethy
09-04-2014 16:51 Gyorgy Rethy Status new => assigned
09-04-2014 16:51 Gyorgy Rethy Product Version => v4.5.1 (published 2013-04)
09-04-2014 16:51 Gyorgy Rethy Target Version => v4.6.1 (published 2015-06)
09-04-2014 16:52 Gyorgy Rethy File Added: CR6719_nillable_Resolution_v1.doc
09-04-2014 16:53 Gyorgy Rethy Note Added: 0011978
09-04-2014 16:54 Gyorgy Rethy Note Deleted: 0011978
09-04-2014 16:54 Gyorgy Rethy Note Added: 0011979
09-04-2014 16:54 Gyorgy Rethy Status assigned => confirmed
09-04-2014 16:58 Gyorgy Rethy Assigned To Gyorgy Rethy => Tomas Urban
09-04-2014 16:58 Gyorgy Rethy Status confirmed => assigned
09-04-2014 17:01 Gyorgy Rethy Status assigned => confirmed
10-04-2014 09:07 Tomas Urban Relationship added related to 0006721
10-04-2014 09:09 Tomas Urban Note Added: 0011983
10-04-2014 09:10 Tomas Urban File Added: CR6719_nillable_Resolution_v2.doc
10-04-2014 09:10 Tomas Urban Assigned To Tomas Urban => Gyorgy Rethy
10-04-2014 09:10 Tomas Urban Status confirmed => assigned
10-04-2014 10:02 Jacob Wieland - Spirent Note Added: 0011985
10-04-2014 11:06 Tomas Urban Status assigned => confirmed
10-04-2014 15:32 Gyorgy Rethy Note Added: 0012013
10-04-2014 15:32 Gyorgy Rethy File Added: CR6719_nillable_resolution_v3.doc
10-04-2014 15:32 Gyorgy Rethy Assigned To Gyorgy Rethy => Tomas Urban
10-04-2014 15:32 Gyorgy Rethy Status confirmed => assigned
10-04-2014 15:32 Gyorgy Rethy Status assigned => confirmed
11-04-2014 09:24 Tomas Urban Note Added: 0012017
11-04-2014 09:24 Tomas Urban Status confirmed => resolved
11-04-2014 09:24 Tomas Urban Resolution open => fixed
11-04-2014 09:24 Tomas Urban Assigned To Tomas Urban => Gyorgy Rethy
17-06-2014 16:20 Gyorgy Rethy Fixed in Version => v4.6.1 (published 2015-06)
20-06-2014 11:54 Gyorgy Rethy Fixed in Version v4.6.1 (published 2015-06) =>
31-12-2014 11:43 Gyorgy Rethy Note Added: 0012595
31-12-2014 11:43 Gyorgy Rethy Status resolved => closed
31-12-2014 11:43 Gyorgy Rethy Fixed in Version => v4.6.1 (published 2015-06)


MantisBT 1.2.14 [^]
Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker