Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getBinaryEncodingId() does not always return the NodeId of the binary encoding node. #187

Open
jonasgreen88 opened this issue Feb 16, 2022 · 0 comments

Comments

@jonasgreen88
Copy link
Contributor

This function takes a DataType node and searches its references for Encoding reference types. The purpose is to find the Binary encoding node of the data type. But once it finds an Encoding reference type the function returns the NodeId of the destination node. But the first found Encoding reference type may not reference the Binary Encoding node of the DataType node. It could for example reference the XML Encoding Node. The BrowseName of the target node must be verified before returning the NodeId.

https://github.com/matkonnerth/nodesetLoader/blob/281a462f0a7cd1feb9a71b429c90276cd823c9a1/backends/open62541/src/DataTypeImporter.c#L32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant