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
0004268Part 09: Using XML with TTCN-3Technicalpublic13-10-2008 09:1030-10-2008 15:15
ReporterGyorgy Rethy 
Assigned ToGyorgy Rethy 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Versionv4.1.1 (published 2009-06)Fixed in Versionv4.1.1 (published 2009-06) 
Summary0004268: Missing encoding instruction in $61.5 example2
DescriptionThis example shows the mapping of an enumeration facet, where the restriction base is integer to a TTCN-3 enumerated type. In this case the enumeration names are artificial and the encoded XML component shall contain the integer values, not the TTCN-3 enumeration names. The encoder shall be instructed to do so.
Change the TTCN-3 derivation from:
    //Is mapped to the TTCN-3 type definition:
    type enumerated Integer_0_5_10 {int0(0), int5(5), int10(10)}
        with { variant "name as uncapitalized" }
TO:
    //Is mapped to the TTCN-3 type definition:
    type enumerated Integer_0_5_10 {int0(0), int5(5), int10(10)}
        with { variant "name as uncapitalized";
               variant "use number"
         }
TagsNo tags attached.
Clause Reference(s)6.1.5
For STF discussion
Source (company - Author)     
Attached Files

- Relationships

-  Notes
(0007080)
Ina Schieferdecker (reporter)
15-10-2008 17:38

In principle ok, however, the additional encoding variant "use number" should be explained in clause 6.1.5:

In this case the enumeration names are artificial and the encoded XML component shall contain the integer values, not the TTCN-3 enumeration names. The encoder shall be instructed to do so with the variant attribute "use number".
(0007225)
Gyorgy Rethy (reporter)
30-10-2008 15:15

Done in master copy, including the sentence explaining the "use number" attribute.

- Issue History
Date Modified Username Field Change
13-10-2008 09:10 Gyorgy Rethy New Issue
13-10-2008 09:10 Gyorgy Rethy Status new => assigned
13-10-2008 09:10 Gyorgy Rethy Assigned To => Gyorgy Rethy
13-10-2008 09:10 Gyorgy Rethy Clause Reference(s) => 6.1.5
13-10-2008 09:10 Gyorgy Rethy Source (company - Author) =>
15-10-2008 10:03 Gyorgy Rethy Assigned To Gyorgy Rethy => Ina Schieferdecker
15-10-2008 17:38 Ina Schieferdecker Note Added: 0007080
15-10-2008 17:39 Ina Schieferdecker Assigned To Ina Schieferdecker => Gyorgy Rethy
15-10-2008 17:39 Ina Schieferdecker Resolution open => fixed
15-10-2008 17:39 Ina Schieferdecker Target Version => Edition 4.1.1 (not yet published)
30-10-2008 15:15 Gyorgy Rethy Status assigned => closed
30-10-2008 15:15 Gyorgy Rethy Note Added: 0007225
30-10-2008 15:15 Gyorgy Rethy Fixed in Version => Edition 4.1.1 (not yet published)


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