View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003515 | 10000-006: Mappings | Spec | public | 2016-08-22 14:36 | 2016-12-06 17:49 |
Reporter | BjarneBostrom | Assigned To | randyarmstrong | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Summary | 0003515: Clarifications between 'not present' and 'NULL' | ||||
Description | Spec 1.03 Part 6 section 5.2.7 States "A union with no fields present has the same meaning as a NULL value." Also applies for Optional values in Structures. The specification does not make a difference between the terms 'not present' i.e. "no value" and value set as 'NULL'. Some types have valid null encodings while some don't. This is important when making implementations because normally it would not make sense to have both conditions 'not-present' and 'null', but with the current spec both are valid and different values. For example consider the following cases. Case 1. Union switch value encoded as 0 i.e. 'Null' Question 1. Is the situation in Case 2. allowed by the specification? | ||||
Tags | No tags attached. | ||||
Commit Version | |||||
Fix Due Date | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-08-22 14:36 | BjarneBostrom | New Issue | |
2016-08-30 15:29 | Jim Luth | Assigned To | => randyarmstrong |
2016-08-30 15:29 | Jim Luth | Status | new => assigned |
2016-12-04 23:57 | randyarmstrong | Note Added: 0007412 | |
2016-12-04 23:57 | randyarmstrong | Status | assigned => resolved |
2016-12-04 23:57 | randyarmstrong | Resolution | open => fixed |
2016-12-06 17:49 | Jim Luth | Note Added: 0007450 | |
2016-12-06 17:49 | Jim Luth | Status | resolved => closed |
2016-12-06 17:49 | Jim Luth | Fixed in Version | => 1.04 |