ETSI's Bug Tracker - Part 06: TTCN-3 Control Interface
View Issue Details
0005481Part 06: TTCN-3 Control InterfaceClarificationpublic24-02-2010 12:5325-03-2010 15:45
Alexander Lorenz 
Ina Schieferdecker 
normalminoralways
closedfixed 
 
v4.2.1 (published 2010-07)v4.2.1 (published 2010-07) 
TCI standard (11.3.2.9), TRI standard (6.3.2.6)
Testing Technologies - Alex Lorenz
0005481: TriAddressType should have an additional attribute 'numberOfBits'
This should be handled equivalently to TriMessageType, see issue 0005480.

http://t-ort.etsi.org/view.php?id=5480 [^]
No tags attached.
duplicate of 0005415closed Ina Schieferdecker Part 05: TTCN-3 Runtime Interface  getNumberOfBits/setNumberOfBits missing in for TriAddressType, TriParameterType and TriExceptionType 
related to 0005479closed Ina Schieferdecker Part 06: TTCN-3 Control Interface parameter 'address' of TriAddressType should be of same type in TCI and TRI 
related to 0005480closed Ina Schieferdecker Part 06: TTCN-3 Control Interface TriMessageType is lacking attribute 'numberOfBits' 
doc CR5481_v1.doc (26,624) 25-03-2010 11:08
http://oldforge.etsi.org/mantis/file_download.php?file_id=2364&type=bug
doc CR5481_v2.doc (33,280) 25-03-2010 12:57
http://oldforge.etsi.org/mantis/file_download.php?file_id=2367&type=bug
Issue History
24-02-2010 12:53Alexander LorenzNew Issue
24-02-2010 12:53Alexander LorenzClause Reference(s) => TCI standard (11.3.2.9), TRI standard (6.3.2.6)
24-02-2010 12:53Alexander LorenzSource (company - Author) => Testing Technologies - Alex Lorenz
24-02-2010 12:56Alexander LorenzNote Added: 0009235
22-03-2010 15:36Gyorgy RethyRelationship addedduplicate of 0005415
25-03-2010 07:16Ina SchieferdeckerRelationship addedrelated to 0005479
25-03-2010 07:18Ina SchieferdeckerRelationship addedrelated to 0005480
25-03-2010 07:40Ina SchieferdeckerProjectTTCN-3 Change Requests => Part 06: TTCN-3 Control Interface
25-03-2010 11:04Ina SchieferdeckerNote Added: 0009302
25-03-2010 11:07Ina SchieferdeckerStatusnew => assigned
25-03-2010 11:07Ina SchieferdeckerAssigned To => Ina Schieferdecker
25-03-2010 11:08Ina SchieferdeckerFile Added: CR5481_v1.doc
25-03-2010 11:08Ina SchieferdeckerAssigned ToIna Schieferdecker => Jacob Wieland - Spirent
25-03-2010 11:08Ina SchieferdeckerResolutionopen => fixed
25-03-2010 11:08Ina SchieferdeckerFixed in Version => Edition 4.2.1 (not yet published)
25-03-2010 11:08Ina SchieferdeckerTarget Version => Edition 4.2.1 (not yet published)
25-03-2010 12:57Jacob Wieland - SpirentFile Added: CR5481_v2.doc
25-03-2010 13:03Jacob Wieland - SpirentNote Added: 0009306
25-03-2010 13:03Jacob Wieland - SpirentAssigned ToJacob Wieland - Spirent => Ina Schieferdecker
25-03-2010 15:45Ina SchieferdeckerNote Added: 0009316
25-03-2010 15:45Ina SchieferdeckerStatusassigned => resolved
25-03-2010 15:45Ina SchieferdeckerStatusresolved => closed

Notes
(0009235)
Alexander Lorenz   
24-02-2010 12:56   
The interface in the TRI also needs to be extended.
(0009302)
Ina Schieferdecker   
25-03-2010 11:04   
In the XML mapping

   <xsd:attribute name="len" type="xsd:integer"/>

to be added to

TriParameterType, TriAddressType, TriExceptionType and TriMessageType
(0009306)
Jacob Wieland - Spirent   
25-03-2010 13:03   
changed the len-attribute to paddingBits which is optional with a default value of 0 and should normally only take values between 0 and 7.

The relation between paddingBits and numberOfBits is:

   numberOfBits == (length(val-attribute)/2)*8-paddingBits

In the byte-aligned case (which is probably the normal one), the paddingBits attribute can be left out, causing a smaller amount of XML text.
(0009316)
Ina Schieferdecker   
25-03-2010 15:45   
As proposed.

Added a note:

NOTE: paddingBits is optional with a default value of 0 and should only take values between 0 and 7.
The relation between paddingBits and numberOfBits is:
numberOfBits == (length(val-attribute)/2)*8-paddingBits
In the byte-aligned case which is the typical one, the paddingBits attribute can be left out.