View Issue Details

IDProjectCategoryView StatusLast Update
000609010000-004: ServicesSpecpublic2020-12-10 15:59
ReporterBjarneBostrom Assigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0006090: Clarification on GenericAttributes with repeated LocalizedTexts for same Attribute
Description

As far as I have looked, the GenericAttributes definition
https://reference.opcfoundation.org/v104/Core/DataTypes/GenericAttributes/
or usage
https://reference.opcfoundation.org/v104/Core/docs/Part4/7.19.10/

does not mention can the value of an Attribute be "repeated" in the attributeValues array. That is to say, can more than one GenericAttributeValue in the array have the same attributeId?

I would have use-cases to use repeated definitions to provide alternative localizations i.e. to provide multiple LocalizedText values for a single Attribute. For non-localized Attributes it would not make sense (at least not now with the current Attribute set). Currently our Prosys OPC UA SDK for Java does parse NodeSets to a set of AddNodes and AddReferences (it unifies parts to the NodeManagement Service Set handlings), we are not yet using GenericAttributes, thus we only load a single localization from a NodeSet. But if GenericAttributes could be used like this it would solve the issue. Also it does allow the option to add all the localizations when one would make the AddNodes call from the Client side as well, so maybe this is even intended?

Technically it would work already and nothing that I have found do forbid this, but just asking for clarification.

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Matthias Damm

2020-12-07 19:26

developer   ~0013389

Discussed in UA meeting today. Agreed to not change the behavior compared to the concrete structures per node class.
The mechanism with the existing structure is to specify one localeId in AddNode and then write the other LocalIds with write service. The write service specifies the necessary functionality.

Added following clarification to
Table 163 – GenericAttributes
attributeId
AttributeIds shall be unique and shall not repeat the Attributes in the structure.

Added in OPC 10000-4 - UA Specification Part 4 - Services 1.05.0 Draft13.docx

Jim Luth

2020-12-10 15:59

administrator   ~0013452

Agreed to changes in Virtual F2F.

Issue History

Date Modified Username Field Change
2020-09-29 11:27 BjarneBostrom New Issue
2020-10-13 16:02 Jim Luth Assigned To => Matthias Damm
2020-10-13 16:02 Jim Luth Status new => assigned
2020-12-07 19:26 Matthias Damm Status assigned => resolved
2020-12-07 19:26 Matthias Damm Resolution open => fixed
2020-12-07 19:26 Matthias Damm Note Added: 0013389
2020-12-10 15:59 Jim Luth Status resolved => closed
2020-12-10 15:59 Jim Luth Fixed in Version => 1.05
2020-12-10 15:59 Jim Luth Note Added: 0013452