View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001609 | 10000-004: Services | public | 2011-04-01 12:32 | 2012-02-09 22:52 | |
Reporter | Jouni Aro | Assigned To | Matthias Damm | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.02 | ||||
Summary | 0001609: Unclear specification for ContentFilter Cast operator between signed and unsigned types | ||||
Description | The specification should clarify how the Cast_12 operator, defined in Table 113, should treat negative values, when the target data type is an unsigned type. I.e. Cast(-1, UInt8) -> null (=error) or UInt(0xff)? | ||||
Tags | No tags attached. | ||||
Commit Version | |||||
Fix Due Date | |||||
|
Should be an error |
|
There is nothing written yet about conversion of a negative signed value to an unsigned value. I would also say that this conversion should result in an error (null). But why is the conversions from Int16 -> UInt32/UInt64 and Int32 -> UInt64 implicit conversions? |
|
Added the following sentence to the conversion rules: Changed in document version OPC UA Part 4 - Services 1.02.07 Draft.doc |
|
Reviewed at F2F |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-04-01 12:32 | Jouni Aro | New Issue | |
2011-05-10 16:13 | Randy Armstrong | Note Added: 0002681 | |
2011-05-10 16:13 | Randy Armstrong | Status | new => assigned |
2011-05-10 16:13 | Randy Armstrong | Assigned To | => Matthias Damm |
2011-09-13 00:17 | Matthias Damm | Note Added: 0002943 | |
2011-09-13 00:42 | Matthias Damm | Status | assigned => resolved |
2011-09-13 00:42 | Matthias Damm | Resolution | open => fixed |
2011-09-13 00:42 | Matthias Damm | Note Added: 0002944 | |
2011-09-14 19:52 | Randy Armstrong | Status | resolved => closed |
2011-09-14 19:52 | Randy Armstrong | Note Added: 0002973 | |
2012-02-09 22:52 | Jim Luth | Fixed in Version | => 1.02 |