ETSI's Bug Tracker - Part 06: TTCN-3 Control Interface
View Issue Details
0007519Part 06: TTCN-3 Control InterfaceTechnicalpublic25-10-2016 10:4215-01-2018 07:54
Tomas Urban 
Tomas Urban 
normalminorhave not tried
closedfixed 
v4.8.1 (published 2016-07) 
Next version (to be defined) 
11.3.3
Elvior
0007519: Ifpresent and length matching attributes not defined in XML mapping
W3C XML mapping doesn't define support for ifpresent and length matching attributes.

Proposal: extend the mapping of individual types changing the standard choice in the following way (using integer value as an example):

<xsd:complexType name="IntegerValue">
 <xsd:choice>
  <xsd:sequence>
   <xsd:choice>
    <xsd:element name="value" type="SimpleTypes:TString"/>
    <xsd:element name="matching_symbol" type="Templates:MatchingSymbol"/>
   </xsd:choice>
   <xsd:element name="ifpresent" type="SimpleTypes:TEmpty" minOccurs="0"/>
   <xsd:element name="length" type="Values:LengthRestriction" minOccurs="0"/>
  </xsd:sequence>
  <xsd:element name="null" type="Templates:null"/>
  <xsd:element name="omit" type="Templates:omit"/>
  <xsd:element name="not_evaluated" type="Values:NotEvaluated"/>
 </xsd:choice>
 <xsd:attributeGroup ref="Values:ValueAtts"/>
</xsd:complexType>

<xsd:complexType name="TEmpty" />

<xsd:complexType name="LengthRestriction">
 <xsd:sequence>
  <xsd:element name="lower" type="SimpleTypes:TInteger" />
  <xsd:element name="upper" type="SimpleTypes:TInteger" minOccurs="0" />
 </xsd:sequence>
</xsd:complexType>
No tags attached.
related to 0007512closed Tomas Urban XML mapping of matching symbols 
Issue History
25-10-2016 10:42Tomas UrbanNew Issue
14-11-2016 13:21Jens GrabowskiAssigned To => Jacob Wieland - Spirent
14-11-2016 13:21Jens GrabowskiStatusnew => assigned
24-12-2016 15:05Jens GrabowskiTarget Version => Next version (to be defined)
24-10-2017 13:13Jens GrabowskiNote Added: 0014849
26-10-2017 10:44Jacob Wieland - SpirentRelationship addedrelated to 0007512
26-10-2017 10:45Jacob Wieland - SpirentNote Added: 0014885
26-10-2017 10:45Jacob Wieland - SpirentAssigned ToJacob Wieland - Spirent => Tomas Urban
15-01-2018 07:54Tomas UrbanNote Added: 0015028
15-01-2018 07:54Tomas UrbanStatusassigned => closed
15-01-2018 07:54Tomas UrbanResolutionopen => fixed

Notes
(0014849)
Jens Grabowski   
24-10-2017 13:13   
(To be implemented until end of 2017)
(0014885)
Jacob Wieland - Spirent   
26-10-2017 10:45   
I have put the proposal of solution to this issue in 7512 and added a relationship to that CR.
(0015028)
Tomas Urban   
15-01-2018 07:54   
Resolved together with 0007512