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

References are broken if both Version number and PubDate aren't exact matches #219

Open
jwise-mfg opened this issue Jan 21, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jwise-mfg
Copy link
Collaborator

VDMA's new companion specification for Powertrain (spec, nodeset) depends on the IRDI Dictionary Namespace (http://opcfoundation.org/UA/Dictionary/IRDI)

As a result, the Powertrain Nodeset cannot be imported because the reference is not the same due to mis-matched PubDates.

We either need to relax the reference constraint so only the version number needs to match, or the Powertrain Nodeset needs to be corrected to reference the correct PubDate for the published IRDI nodeset.

@barnstee barnstee added the bug Something isn't working label Jan 21, 2025
@opcfoundation-org
Copy link
Contributor

The IRDI Namespace is different from every other Namespace since the specification that defines the Namespace does not define any Nodes. Instead it defines rules for creating Nodes from externally defined identifiers like IRDIs.

What this means is every specification that references IRDI identifiers produces a new NodeSet that only contains the IRDI nodes that were created/referenced by the associated CS NodeSet.

This means there is never a single IRDI NodeSet file and the publication date/version cannot be used to select the "latest".

Instead tools must be prepared to merge multiple IRDI NodeSets into a single NodeSet when they encounter references to multiple IRDI NodeSet files.

The IsNamespaceSubset property should be set to True which makes it clear that merging is needed instead of "pick one".

There is an action to develop a whitepaper:
https://mantis.opcfoundation.org/view.php?id=9998

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants