getBinaryEncodingId() does not always return the NodeId of the binary encoding node.
jonasgreen88 opened this issue · 0 comments
jonasgreen88 commented
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.