ETSI's Bug Tracker - Part 09: Using XML with TTCN-3
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0006787 | Part 09: Using XML with TTCN-3 | Technical | public | 01-07-2014 20:27 | 31-12-2014 14:03

Reporter | Tomas Urban |
Assigned To | Gyorgy Rethy |
Priority | high | Severity | minor | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.5.1 (published 2013-04) |
Target Version | v4.6.1 (published 2015-06) | Fixed in Version | v4.6.1 (published 2015-06) |
Clause Reference(s) | 5.4
For STF discussion |
Source (company - Author) | STF 475

Summary | 0006787: Control of fraction digits

Description

According to 5.4.c it is not possible to specify the number of fraction digits for a float field. It means that value encoding and decoding are fully dependent on proprietary codec settings. This situation is unacceptable for strict conformance testing. According to the information from STF160, control over fraction digits should be possible directly in the TTCN-3 test suite, including the option of generating codec failure when a decoded field contains a different number of fraction digits than required.
There's currently indeed a mechanism that leads to similar results: specifying a variant attribute e.g. transparent fractionDigits value='1'. However, this attribute is related to existing facets in XML schemas and therefore it is not possible to say what should be codec behaviour when it is applied to a template field that is associated with an XSD element that doesn't contain the fractionDigits facet.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

parent of | 0006797 | closed | Gyorgy Rethy | Meaning of totalDigits facet has been changed in XSD

Attached Files | CR6787_resolution_v1.doc (99,328) 07-10-2014 15:00 http://oldforge.etsi.org/mantis/file_download.php?file_id=3098&type=bug CR6787_resolution_v2.doc (99,840) 08-10-2014 08:08 http://oldforge.etsi.org/mantis/file_download.php?file_id=3104&type=bug

Issue History
Date Modified | Username | Field | Change
01-07-2014 20:27 | Tomas Urban | New Issue |
06-10-2014 10:57 | Gyorgy Rethy | Assigned To | => Gyorgy Rethy
06-10-2014 10:57 | Gyorgy Rethy | Status | new => assigned
06-10-2014 10:57 | Gyorgy Rethy | Product Version | => v4.5.1 (published 2013-04)
06-10-2014 10:57 | Gyorgy Rethy | Target Version | => v4.6.1 (published 2015-06)
07-10-2014 09:10 | Gyorgy Rethy | Priority | normal => high
07-10-2014 15:00 | Gyorgy Rethy | File Added: CR6787_resolution_v1.doc |
07-10-2014 15:20 | Gyorgy Rethy | Relationship added | parent of 0006797
07-10-2014 15:23 | Gyorgy Rethy | Note Added: 0012258 |
07-10-2014 15:23 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Tomas Urban
07-10-2014 15:23 | Gyorgy Rethy | Status | assigned => confirmed
07-10-2014 15:24 | Gyorgy Rethy | Note Edited: 0012258 | bug_revision_view_page.php?bugnote_id=12258#r73
08-10-2014 08:08 | Tomas Urban | File Added: CR6787_resolution_v2.doc |
08-10-2014 08:14 | Tomas Urban | Note Added: 0012265 |
08-10-2014 08:14 | Tomas Urban | Status | confirmed => resolved
08-10-2014 08:14 | Tomas Urban | Resolution | open => fixed
08-10-2014 08:14 | Tomas Urban | Assigned To | Tomas Urban => Gyorgy Rethy
31-12-2014 14:03 | Gyorgy Rethy | Note Added: 0012598 |
31-12-2014 14:03 | Gyorgy Rethy | Status | resolved => closed
31-12-2014 14:03 | Gyorgy Rethy | Fixed in Version | => v4.6.1 (published 2015-06)

Notes

(0012258)
Gyorgy Rethy
07-10-2014 15:23 (edited on: 07-10-2014 15:24)

Please check proposed resolution in CR6787_resolution_v1.doc Note: it includes also corrections to the totalDigits facet, see CR6897.

(0012265)
Tomas Urban
08-10-2014 08:14

I removed fractionDigits from the examples on not mapped facets (as fractionDigits are mapped now). Otherwise the proposal is ready to be added to the next version of the standard.

(0012598)
Gyorgy Rethy
31-12-2014 14:03

Added to draft V4.5.3