View Issue Details

IDProjectCategoryView StatusLast Update
000934810000-008: Data AccessSpecpublic2024-01-23 16:47
ReporterBjarneBostrom Assigned ToKarl Deiretsbacher  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.05.02 
Fixed in Version1.05.04 RC1 
Summary0009348: Seems 1.05.03 new UnitType/QuantityType define Property called "Description" (that is already an existing Attribute)
Description

(No 1.05.03 product version yet in Mantis, thus I chose 1.05.02).

Seems 1.05.03 added UnitType (https://reference.opcfoundation.org/Core/Part8/v105/docs/6.4.2.1) and QuantityType (https://reference.opcfoundation.org/Core/Part8/v105/docs/6.4.1).

Why there is a Property named 'Description' whose datatype is LocalizedText when an OPC UA Node already do have an Attribute 'Description' (whose DataType is also LocalizedText)?

Technically I guess nothing disallows this in the spec, but it does cause some headaches for code generators (it is very likely a class would have now something like "getDescription" for both the Attribute and the Property, which would collide). Yes, it is sort of the same thing like namespace collisions, however I would wish the core information model wouldn't do that by itself with the well known Attribute names.

The https://reference.opcfoundation.org/Core/Part8/v105/docs/6.4.1 says " The DisplayName Attribute of each instance shall provide the name of the quantity, e.g. “acceleration”, “battery capacity” or “pressure in relation to volume flow rate”. " so why not use the Description Attribute similarly for it's purpose as well?

Since the DataType here is even the same, this would just look like a typo or modelling error. If not, please add text to the spec to explain what is the difference for the Attribute and Property "Description" values both and how they should be filled (differently) here. If yes, please make an errata that removes the Property and advises to use the Attribute for this.

TagsNo tags attached.
Commit Version1.05.04 RC
Fix Due Date2024-02-01

Activities

Karl Deiretsbacher

2024-01-19 09:22

developer   ~0020667

I agree to the proposed change.
Part 8 has been updated. See "OPC 10000-8 ... DataAccess ... 1.05.4 Draft 1" in https://opcfoundation.sharepoint.com/sites/wg.UA/Shared%20Documents/General/UA%20Specifications/Drafts%20for%20Review%201.05.

Karl Deiretsbacher

2024-01-23 16:46

developer   ~0020695

See last Note.

Jim Luth

2024-01-23 16:47

administrator   ~0020696

Agreed to changes in Web meeting.

Issue History

Date Modified Username Field Change
2024-01-10 15:51 BjarneBostrom New Issue
2024-01-16 16:05 Jim Luth Assigned To => Karl Deiretsbacher
2024-01-16 16:05 Jim Luth Status new => assigned
2024-01-19 09:22 Karl Deiretsbacher Note Added: 0020667
2024-01-23 16:46 Karl Deiretsbacher Status assigned => resolved
2024-01-23 16:46 Karl Deiretsbacher Resolution open => fixed
2024-01-23 16:46 Karl Deiretsbacher Note Added: 0020695
2024-01-23 16:46 Jim Luth Commit Version => 1.05.04 RC
2024-01-23 16:46 Jim Luth Fix Due Date => 2024-02-01
2024-01-23 16:47 Jim Luth Status resolved => closed
2024-01-23 16:47 Jim Luth Fixed in Version => 1.05.04 RC1
2024-01-23 16:47 Jim Luth Note Added: 0020696