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

ID | Project | Category | View Status | Date Submitted | Last Update
0005974 | Part 09: Using XML with TTCN-3 | Technical | public | 28-11-2011 14:47 | 02-12-2011 11:41

Reporter | Tomas Urban |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.3.1 (published 2011-06) |
Target Version | v4.4.1 (published 2012-04) | Fixed in Version | v4.4.1 (published 2012-04) |
Clause Reference(s) | B.3.7
For STF discussion |
Source (company - Author) | Elvior

Summary | 0005974: Default for empty: invalid decoding rule

Description

The decoding rule for the "defaultForEmpty" encoding instruction states that:
"...the decoder shall insert the value specified by freetext if the corresponding attribute or element is omitted in the received XML document."
However, this is correct only for attributes. In case of elements, the element must be always present, but it is not required to contain a value (in which case the value is equal to the default value). See section 3.3.1 in XML Schema Part 1: Structures for more details.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
28-11-2011 14:47 | Tomas Urban | New Issue |
28-11-2011 14:47 | Tomas Urban | Clause Reference(s) | => B.3.7
28-11-2011 14:47 | Tomas Urban | Source (company - Author) | => Elvior
28-11-2011 16:36 | Gyorgy Rethy | Note Added: 0010364 |
28-11-2011 16:36 | Gyorgy Rethy | Assigned To | => Gyorgy Rethy
28-11-2011 16:36 | Gyorgy Rethy | Status | new => assigned
28-11-2011 16:36 | Gyorgy Rethy | Target Version | => Edition 4.4.1
02-12-2011 11:41 | Gyorgy Rethy | Note Added: 0010513 |
02-12-2011 11:41 | Gyorgy Rethy | Status | assigned => closed
02-12-2011 11:41 | Gyorgy Rethy | Resolution | open => fixed
02-12-2011 11:41 | Gyorgy Rethy | Fixed in Version | => Edition 4.4.1

Notes

(0010364)
Gyorgy Rethy
28-11-2011 16:36

STF discussion 28/11: to be checked.

(0010513)
Gyorgy Rethy
02-12-2011 11:41

Implemented as proposed.