View Issue Details

IDProjectCategoryView StatusLast Update
000720710000-006: MappingsSpecpublic2021-10-05 15:25
ReporterMatthias Damm Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionreopened 
Summary0007207: Purpose (DataTypePurpose) is used in the UANodeSet schema but is not described in the specification
Description

Since Purpose is only relevant for NS0, the (missing) documentation should state that it is only used for OPC UA namespace and that it shall be not present (Default “Normal”) in all other cases.

Another issue is that the Purpose is only available on the DataType node but not on the corresponding encoding nodes. This makes is very difficult to load only DataTypes with purpose "Normal".

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Randy Armstrong

2021-09-14 04:23

administrator   ~0014836

Added Purpose to Table F.11 in DRAFT 5.

Jim Luth

2021-09-14 16:09

administrator   ~0014851

Agreed to changes in 1.05.1 Draft 5.

Matthias Damm

2021-09-15 07:04

developer   ~0014863

Last edited: 2021-09-15 07:13

I forwarded the resolution internally for review and got the following feedback

(1) The definition is fine

(2) The requested clarification or additional use on encoding nodes is missing
The assumption is that the purpose is only used inside modelling tools and code generators (even only for OPC UA namespace).
If this is true, client or server applications that load XML will never see a purpose and handle all DataTypes as normal. Adding this logic to all applications is further increasing the already high complexity to load UANodesets.

If this is not the case, all tools need to have additional logic to skip the DataTypes that are not "Normal" and to find related encoding nodes and skip them as well.
In this case we need the Purpose also on the encoding nodes to simplify the skip.

Our preference would be an additional clarification like the following one:
"The optional Purpose is only used by modeling tools and code generators. UANodeSets imported by OPC UA applications shall not contain this element and the default value Normal is used"

Randy Armstrong

2021-09-24 05:43

administrator   ~0014991

Added requested caveats in Draft 6.

Jim Luth

2021-10-05 15:25

administrator   ~0015123

Agreed to changes in 1.05.1 Draft 7.

Issue History

Date Modified Username Field Change
2021-08-24 10:30 Matthias Damm New Issue
2021-09-14 04:23 Randy Armstrong Assigned To => Randy Armstrong
2021-09-14 04:23 Randy Armstrong Status new => resolved
2021-09-14 04:23 Randy Armstrong Resolution open => fixed
2021-09-14 04:23 Randy Armstrong Note Added: 0014836
2021-09-14 16:09 Jim Luth Status resolved => closed
2021-09-14 16:09 Jim Luth Fixed in Version => 1.05
2021-09-14 16:09 Jim Luth Note Added: 0014851
2021-09-15 07:04 Matthias Damm Status closed => feedback
2021-09-15 07:04 Matthias Damm Resolution fixed => reopened
2021-09-15 07:04 Matthias Damm Note Added: 0014863
2021-09-15 07:12 Matthias Damm Note Edited: 0014863
2021-09-15 07:13 Matthias Damm Note Edited: 0014863
2021-09-24 05:43 Randy Armstrong Status feedback => resolved
2021-09-24 05:43 Randy Armstrong Note Added: 0014991
2021-10-05 15:25 Jim Luth Status resolved => closed
2021-10-05 15:25 Jim Luth Note Added: 0015123