ETSI's Bug Tracker - Part 06: TTCN-3 Control Interface |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0005481 | Part 06: TTCN-3 Control Interface | Clarification | public | 24-02-2010 12:53 | 25-03-2010 15:45 |
|
Reporter | Alexander Lorenz | |
Assigned To | Ina Schieferdecker | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | v4.2.1 (published 2010-07) | Fixed in Version | v4.2.1 (published 2010-07) | |
Clause Reference(s) | TCI standard (11.3.2.9), TRI standard (6.3.2.6) |
Source (company - Author) | Testing Technologies - Alex Lorenz |
|
Summary | 0005481: TriAddressType should have an additional attribute 'numberOfBits' |
Description | This should be handled equivalently to TriMessageType, see issue 0005480.
http://t-ort.etsi.org/view.php?id=5480 [^] |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | duplicate of | 0005415 | closed | Ina Schieferdecker | Part 05: TTCN-3 Runtime Interface | getNumberOfBits/setNumberOfBits missing in for TriAddressType, TriParameterType and TriExceptionType | related to | 0005479 | closed | Ina Schieferdecker | Part 06: TTCN-3 Control Interface | parameter 'address' of TriAddressType should be of same type in TCI and TRI | related to | 0005480 | closed | Ina Schieferdecker | Part 06: TTCN-3 Control Interface | TriMessageType is lacking attribute 'numberOfBits' |
|
Attached Files | CR5481_v1.doc (26,624) 25-03-2010 11:08 http://oldforge.etsi.org/mantis/file_download.php?file_id=2364&type=bug 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 |
Date Modified | Username | Field | Change |
24-02-2010 12:53 | Alexander Lorenz | New Issue | |
24-02-2010 12:53 | Alexander Lorenz | Clause Reference(s) | => TCI standard (11.3.2.9), TRI standard (6.3.2.6) |
24-02-2010 12:53 | Alexander Lorenz | Source (company - Author) | => Testing Technologies - Alex Lorenz |
24-02-2010 12:56 | Alexander Lorenz | Note Added: 0009235 | |
22-03-2010 15:36 | Gyorgy Rethy | Relationship added | duplicate of 0005415 |
25-03-2010 07:16 | Ina Schieferdecker | Relationship added | related to 0005479 |
25-03-2010 07:18 | Ina Schieferdecker | Relationship added | related to 0005480 |
25-03-2010 07:40 | Ina Schieferdecker | Project | TTCN-3 Change Requests => Part 06: TTCN-3 Control Interface |
25-03-2010 11:04 | Ina Schieferdecker | Note Added: 0009302 | |
25-03-2010 11:07 | Ina Schieferdecker | Status | new => assigned |
25-03-2010 11:07 | Ina Schieferdecker | Assigned To | => Ina Schieferdecker |
25-03-2010 11:08 | Ina Schieferdecker | File Added: CR5481_v1.doc | |
25-03-2010 11:08 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Jacob Wieland - Spirent |
25-03-2010 11:08 | Ina Schieferdecker | Resolution | open => fixed |
25-03-2010 11:08 | Ina Schieferdecker | Fixed in Version | => Edition 4.2.1 (not yet published) |
25-03-2010 11:08 | Ina Schieferdecker | Target Version | => Edition 4.2.1 (not yet published) |
25-03-2010 12:57 | Jacob Wieland - Spirent | File Added: CR5481_v2.doc | |
25-03-2010 13:03 | Jacob Wieland - Spirent | Note Added: 0009306 | |
25-03-2010 13:03 | Jacob Wieland - Spirent | Assigned To | Jacob Wieland - Spirent => Ina Schieferdecker |
25-03-2010 15:45 | Ina Schieferdecker | Note Added: 0009316 | |
25-03-2010 15:45 | Ina Schieferdecker | Status | assigned => resolved |
25-03-2010 15:45 | Ina Schieferdecker | Status | resolved => closed |
Notes |
|
|
The interface in the TRI also needs to be extended. |
|
|
|
In the XML mapping
<xsd:attribute name="len" type="xsd:integer"/>
to be added to
TriParameterType, TriAddressType, TriExceptionType and TriMessageType |
|
|
|
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. |
|
|
|
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. |
|