View Issue Details

IDProjectCategoryView StatusLast Update
0004585NodeSets, XSDs and Generated CodeFeature Requestpublic2022-12-08 16:24
ReporterGerhard Gappmeier Assigned ToRandy Armstrong  
PriorityhighSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
Summary0004585: Create self-contained XML Nodeset files which combins Part 3, 4, and 5
Description

At moment the split Nodeset files on github contain cyclic references,
part3 requires nodes of part5 and vice versa.
We can fix this by combining those files into a "base parts" model,
which is always required, keeping the other optional parts as separate files.

This helps to reduce the required memory needed for embedded servers.

Steps To Reproduce

You can download the eval HP SDK from here:
https://www.unified-automation.com/downloads/opc-ua-development/file/download/details/high-performance-opc-ua-clientserver-sdk-bundle-v121.html

It contains a tool called xml2bin, which can be used to test the loading of the Nodeset files:
$> ./xml2bin Opc.Ua.NodeSet2.Part3.xml
/home/gergap/work/devel/embeddedstack/src/tools/xml2bin/xmlloader.c: In function 'load_node_refs':
/home/gergap/work/devel/embeddedstack/src/tools/xml2bin/xmlloader.c:1123: error: Destination node not found.
xml location info: The XML element at Opc.Ua.NodeSet2.Part3.xml:76:7 is causing this problem:
<Reference ReferenceType="HasTypeDefinition">i=58</Reference>
^
error: failed to load 'Opc.Ua.NodeSet2.Part3.xml'

This will fail because of the missing destination node if the shown reference.

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Randy Armstrong

2021-07-03 14:46

administrator   ~0014632

This should resolved by the new NodeSet format.

Jim Luth

2022-12-08 16:23

administrator   ~0018278

Reducing memory is not accomplished by associating CUs with nodes in the nodeset. This feature is no longer needed.

Issue History

Date Modified Username Field Change
2019-01-17 13:29 Gerhard Gappmeier New Issue
2021-04-14 17:37 Jim Luth Project UA => NodeSets, XSDs and Generated Code
2021-07-03 14:46 Randy Armstrong Assigned To => Randy Armstrong
2021-07-03 14:46 Randy Armstrong Status new => acknowledged
2021-07-03 14:46 Randy Armstrong Note Added: 0014632
2022-12-08 16:23 Jim Luth Note Added: 0018278
2022-12-08 16:24 Jim Luth Status acknowledged => closed
2022-12-08 16:24 Jim Luth Resolution open => no change required