View Issue Details

IDProjectCategoryView StatusLast Update
001034210000-014: PubSubSpecpublic2025-07-15 17:01
ReporterBjarneBostrom Assigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Product Version1.05.05 RC1 
Fixed in Version1.05.06 RC1 
Summary0010342: DataTypeSchemaHeader clarify that supertypes should be added as well
Description

Related to 1.05.06 Draft 3 + MQTT-JSON Plugfest. 6.2.3.2.2 DataTypeSchemaHeader says:
"The DataTypeSchemaHeader of the DataSetMetaData shall be populated with the necessary
information. This includes all namespaces and DataTypes that are potentially contained in the
associated DataSetMessages. DataTypes defined in the OPC UA namespace
(NamespaceIndex 0) that are not built-in types shall be included in the DataSetMetaData."

It is possible to interpret this to mean only the "leaf types" used in the metadata should be added to the header. However, e.g. StructureDefinition contains NodeId for the parent type, thus the parent type should be added as well (and recursively meaning the whole hierarchy).

I would like that a clarification would be added such as "including their supertypes recursively i.e. the header should contain the minimum full inheritance hierarchy for all related types; builtintypes excluded".

While the decoding of a Structure is possible already with just the "leaf information" since they are self-contained, the representation of that could potentially use the full inheritance information. For example, the Prosys OPC UA SDK for Java preferably represents Structures via the "most code-generated type in the inheritance hierarchy" when possible.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0010343 closedJeff Harding 10000-003: Address Space How to represent Abstract types in StructureDefinition 

Activities

Matthias Damm

2025-05-27 09:57

developer   ~0022781

Added following to 6.2.3.2.2:
This also includes DataTypes for DataType NodeIds contained in the DataTypeDescripitons.

Matthias Damm

2025-06-03 20:14

developer   ~0022947

The BaseDataType is not relevant for decoding a structure. The StructureDescription/StructureDefinition is self-desribing.

Discussed in meeting today.

Jim Luth

2025-06-03 20:14

administrator   ~0022948

agreed to no-fix in virtual F2F.

Issue History

Date Modified Username Field Change
2025-05-27 09:49 BjarneBostrom New Issue
2025-05-27 09:57 Matthias Damm Assigned To => Matthias Damm
2025-05-27 09:57 Matthias Damm Status new => resolved
2025-05-27 09:57 Matthias Damm Resolution open => fixed
2025-05-27 09:57 Matthias Damm Fixed in Version => 1.05.06 RC1
2025-05-27 09:57 Matthias Damm Note Added: 0022781
2025-06-03 20:12 Matthias Damm Status resolved => feedback
2025-06-03 20:12 Matthias Damm Resolution fixed => reopened
2025-06-03 20:14 Matthias Damm Status feedback => resolved
2025-06-03 20:14 Matthias Damm Resolution reopened => no change required
2025-06-03 20:14 Matthias Damm Note Added: 0022947
2025-06-03 20:14 Jim Luth Status resolved => closed
2025-06-03 20:14 Jim Luth Note Added: 0022948
2025-07-15 17:01 Jim Luth Relationship added related to 0010343