Code Monkey home page Code Monkey logo

Comments (4)

BigeYoung avatar BigeYoung commented on July 30, 2024

The trouble is, there are many kinds of parent nodes in this situation. It means I can't just guess which ReferenceType is it by their types.

from ua-nodeset.

opcfoundation-org avatar opcfoundation-org commented on July 30, 2024

These do not look like errors to me.
There is no requirement that both directions of a reference be defined.
See https://reference.opcfoundation.org/v104/Core/docs/Part6/F.3/

A UANodeSet is expected to contain many UANodes which reference each other. Tools that create UANodeSets should not add Reference elements for both directions in order to minimize the size of the XML file. Tools that read the UANodeSets shall automatically add reverse references unless reverse references are not appropriate given the ReferenceType semantics. HasTypeDefinition and HasModellingRule are two examples where it is not appropriate to add reverse references.

from ua-nodeset.

BigeYoung avatar BigeYoung commented on July 30, 2024

These do not look like errors to me.
There is no requirement that both directions of a reference be defined.
See https://reference.opcfoundation.org/v104/Core/docs/Part6/F.3/

A UANodeSet is expected to contain many UANodes which reference each other. Tools that create UANodeSets should not add Reference elements for both directions in order to minimize the size of the XML file. Tools that read the UANodeSets shall automatically add reverse references unless reverse references are not appropriate given the ReferenceType semantics. HasTypeDefinition and HasModellingRule are two examples where it is not appropriate to add reverse references.

Thank you for answering my question.

Now I know that most of the nodes I mentioned are no problem. But I still have a little question, the two nodes from AML/Opc.Ua.AMLBaseTypes.NodeSet2.xml dont' have references to their parent node, and their parent node don't have references to them, neither. Maybe this is an error?

AML/Opc.Ua.AMLBaseTypes.NodeSet2.xml
['ns=1;i=1010', 'ns=1;i=1011']

from ua-nodeset.

opcfoundation-org avatar opcfoundation-org commented on July 30, 2024

AMLBaseVariableType has references to those nodes.

from ua-nodeset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.