View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003775 | 10000-006: Mappings | Api Change | public | 2017-03-07 08:17 | 2017-03-22 12:51 |
Reporter | BjarneBostrom | Assigned To | randyarmstrong | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Summary | 0003775: 1.04 Part 3 Draft 8, valueranks higher than 1 should not be possible for structure fields | ||||
Description | Spec 1.04.08 Part 3 describes the new DataTypeDefinition system. In section 8.51 (table 39) StructureField Structure defines the valueRank as: I believe that is a typo as Structure fields cannot be (to my knowledge) more than one dimensional array as there is no ArrayDimensions field to contain the dimensions (i.e. as in Variant) for serialization purposes. As it is impossible to (de)serialize I would assume it is also impossible to create such structure. Therefore the text should instead read "The value rank for the field. It shall be Scalar (-1) or a one dimensional Array (1)." | ||||
Tags | No tags attached. | ||||
Commit Version | |||||
Fix Due Date | |||||
|
Alternatively as there are only 2 possible values, array or scalar, it could just be 'isArray' boolean field. It is also how it is presented in UaModeler when defining structures. |
|
Add support for serializing multi-dimensional arrays to encodings. |
|
Added: Multi-dimensional Arrays are encoded as a Int32 Array containing the dimensions followed by a list of all the values in the Array. arrays can only be encoded within a Variant. The total number of values is equal to the product of the dimensions. The number of values is 0 if one or more dimension is less than or equal to 0. The process for reconstructing the multi-dimensional array is described in 5.2.2.16 . |
|
Agreed to changes edited in Salzburg meeting. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-03-07 08:17 | BjarneBostrom | New Issue | |
2017-03-07 15:38 | BjarneBostrom | Note Added: 0007906 | |
2017-03-07 16:54 | randyarmstrong | Project | UA => 10000-003: Address Space |
2017-03-07 16:54 | randyarmstrong | Category | Documentation Errata => Api Change |
2017-03-07 16:55 | randyarmstrong | Assigned To | => jeffhardingabb |
2017-03-07 16:55 | randyarmstrong | Status | new => assigned |
2017-03-07 17:05 | randyarmstrong | Project | 10000-003: Address Space => 10000-006: Mappings |
2017-03-07 17:05 | randyarmstrong | Assigned To | jeffhardingabb => randyarmstrong |
2017-03-07 17:06 | randyarmstrong | Note Added: 0007908 | |
2017-03-21 14:14 | randyarmstrong | Note Added: 0007940 | |
2017-03-21 14:14 | randyarmstrong | Status | assigned => resolved |
2017-03-21 14:14 | randyarmstrong | Resolution | open => fixed |
2017-03-22 12:51 | Jim Luth | Note Added: 0007947 | |
2017-03-22 12:51 | Jim Luth | Status | resolved => closed |
2017-03-22 12:51 | Jim Luth | Fixed in Version | => 1.04 |