View Issue Details

IDProjectCategoryView StatusLast Update
000453510000-014: PubSubSpecpublic2019-06-05 07:53
ReporterJim Luth Assigned ToMatthias Damm  
PriorityhighSeveritymajorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0004535: Are arrays valid in the Value of a KeyValuePair Structure / Handling of arrays in BaseDataType
Description

We allow the use of BaseDataType in Structure fields, Variable Values, Method Arguments and Event fields.

In Variable Values, Method Arguments and Event fields we allow to specify the Value Rank as -2 (any) if we want to allow scalar values and arrays for concrete values.

In fields of Structure DataTypes, we only allow -1 (scalar) or >0 (array or more dimensions). This is necessary for concrete DataTypes since they are directly embedded into the structure.

But fields of Structure DataTypes with BaseDataType are encoded as Variant. But a Variant can contain scalar values or arrays (one or more dimensions). Therefore this limitation is not necessary.

Especially in a structure like KeyValuePair, where the Value field is defined as scalar BaseDataType, I assume we want to allow also that the value contains an array e.g. an array of UInt32.

Is this valid?
If not, how can we allow this?
If yes, we are at least silent about this option.

This question also applies to the Body field of the UABinaryFileDataType

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0004534 closedJeff Harding 10000-003: Address Space Are arrays valid in the Value of a KeyValuePair Structure / Handling of arrays in BaseDataType 

Activities

Jim Luth

2018-12-13 23:55

administrator   ~0009696

yes, we are at least silent about this option, and we don't think we need clarification.

Jim Luth

2018-12-13 23:55

administrator   ~0009697

Clarify in Part 3 that ValueRank of -2 is allowed for a StructureField of BaseDataType.

Clarify its use in Part 5 Key/Value pair construct.

Clarify UABinaryFileDataType in Part 14.

Notation for ValueRank -2 is ([])

Matthias Damm

2019-02-27 16:37

developer   ~0009978

Changed UABinaryFileDataType.body to BaseDataType{Any}

Changed in
OPC UA Part 14 - PubSub Draft 1.05.07 Specification.docx

Matthias Damm

2019-06-04 13:32

developer   ~0010325

In the Erlangen F2F we agreed that BaseDataType implies the value can contain any DataType with any ValueRank and that we just need a clarification in Part 3 but no change in Part 14.

Jim Luth

2019-06-05 07:53

administrator   ~0010344

Agreed to no-fix in meeting.

Issue History

Date Modified Username Field Change
2018-12-13 23:55 Jim Luth New Issue
2018-12-13 23:55 Jim Luth Status new => assigned
2018-12-13 23:55 Jim Luth Assigned To => Matthias Damm
2018-12-13 23:55 Jim Luth Issue generated from: 0004534
2018-12-13 23:55 Jim Luth Relationship added related to 0004534
2018-12-13 23:56 Jim Luth Project 10000-003: Address Space => 10000-014: PubSub
2019-02-27 16:37 Matthias Damm Status assigned => resolved
2019-02-27 16:37 Matthias Damm Resolution open => fixed
2019-02-27 16:37 Matthias Damm Note Added: 0009978
2019-06-04 13:30 Matthias Damm Status resolved => feedback
2019-06-04 13:30 Matthias Damm Resolution fixed => reopened
2019-06-04 13:32 Matthias Damm Status feedback => resolved
2019-06-04 13:32 Matthias Damm Resolution reopened => no change required
2019-06-04 13:32 Matthias Damm Note Added: 0010325
2019-06-05 07:53 Jim Luth Status resolved => closed
2019-06-05 07:53 Jim Luth Note Added: 0010344