View Issue Details

IDProjectCategoryView StatusLast Update
001033810000-014: PubSubSpecpublic2025-07-01 15:37
ReporterBjarneBostrom Assigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.05.05 RC1 
Fixed in Version1.05.06 RC1 
Summary0010338: DataValue-JSON in PubSub, UaType/UaTypeId rules similar to Variant-inline rules?
Description

This is related to 1.05.06 Draft 3 (but such version doesn't exist in the Product Version dropdown above)

Table 186 "DataSet field VerboseEncoding examples" within Part 14 '7.2.5.4 DataSetMessage' doesn't contain examples of DataValue JSON form.
For the Int32 in ValueRank Any example it is:
{
"Value": 11
}
(Variant form due to Any, but no UaType since it is known from the metadata). The question is that should DataValue form behave similarly? Or should it be:
{
"UaType" : 6,
"Value" : 11,
"SourceTimestamp" : "2025-05-22T12:27:03.000Z",
"ServerTimestamp" : "2025-05-22T12:27:03.174Z"
}
i.e. Should the UaType field be present or not.

In 6.2.4.2 in Table 32 for the DataSetFieldContentMask before bit-rows begin it is said If the RawData flag is set, the fields are represented as RawData and all other bits are ignored. However later in the rawdata row itself "All other field related flags shall be ignored if this flag is set for UADP message mapping.".

Thus, is RawData useable in JSON together with the other bits? If yes, at least when RawData is then set the UaType/UaTypeId doesn't appear, but it is still ambiguous should it follow the same rules as normal Variant encoding (i.e. field not used when it would be the same as in the metadata).

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Matthias Damm

2025-05-27 09:52

developer   ~0022780

Clarification for 7.2.5.4 DataSetMessage
Added "Table 186 – DataSet field Variant VerboseEncoding examples"
UaType and UaTypeId fields are omitted for known types at top level similar to Variant to ensure compatibility with NonReversible Encoding for all the simple data types.

Changes for 6.2.4.2 / Table 32
Clarified that existing rules only apply to UADP message mapping.
Add for RawData bit:
If this bit is set for JSON message mapping, it is used as option in VerboseEncoding and it can be combined with the other bits.

Jim Luth

2025-07-01 15:37

administrator   ~0023053

Agreed to changes in web meeting.

Issue History

Date Modified Username Field Change
2025-05-26 11:34 BjarneBostrom New Issue
2025-05-27 09:52 Matthias Damm Assigned To => Matthias Damm
2025-05-27 09:52 Matthias Damm Status new => resolved
2025-05-27 09:52 Matthias Damm Resolution open => fixed
2025-05-27 09:52 Matthias Damm Fixed in Version => 1.05.06 RC1
2025-05-27 09:52 Matthias Damm Note Added: 0022780
2025-07-01 15:37 Jim Luth Status resolved => closed
2025-07-01 15:37 Jim Luth Note Added: 0023053