-
Notifications
You must be signed in to change notification settings - Fork 149
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
BrowseName missing namespace index #108
Comments
https://reference.opcfoundation.org/Core/Part3/v104/docs/5.2.4 Servers may often choose to use the same namespace for the NodeId and the BrowseName. However, if they want to provide a standard Property, its BrowseName shall have the namespace of the standards body although the namespace of the NodeId reflects something else, for example the local Server. |
Thank you for the quick response! Sorry I find that paragraph quite hard to understand, does that mean if a BrowseName does not have a namespace index then the namespace index matches that of the NodeId? |
its a companion spec. so it shall have the index of the origin standard body so either di or opc ua... still looking! edit: as far as i know its only allowed in nodeids to omit the "ns=0" for example... have never read something similar for browsenames! |
the nodeset says
which means it shall be 0 because it comes from ua namespace ping: @GoetzGoerisch |
Sorry I'm not very familiar with this stuff so still a bit lost. Why does that Alias mean it comes from ua namespace? |
https://reference.opcfoundation.org/Core/Part6/v104/docs/F.15 maybe this section helps because the EnumValueType has alias nodeid without a namespaceindex which means its UA namespace. the part i cant answer is if its allowed to omit the index in browsenames in the nodesetfile if its UA namespace similar to nodeids!? |
The string syntax is defined here: The NamespaceIndex is not missing. It is omitted if NS=0 |
Ah thats brill thank you! Does this mean the documentation in other places needs updating, or are those referring to a different kind of qualified name? e.g. both the following don't mention its optional
(Also is there a better repo/place to discuss documentation issues?) |
The first reference should reference the formal syntax that was not defined when the text was written. The second reference is the encoding independent definition of the QualifiedName which always has the NamespaceIndex. |
Ive notice in some specs the BrowseName is missing a namespace index e.g.
https://github.com/OPCFoundation/UA-Nodeset/blob/dee199135d85a5cb0dc5db25e27228b1f9d7ea0d/AutoID/Opc.Ua.AutoID.NodeSet2.xml#L173C36-L173C59
According to this: https://reference.opcfoundation.org/Core/Part6/v104/docs/F.3 it seems like both the namespace index and the name should be included.
This may be related to this issue but its not totally clear to me #22
Im trying to understand
The text was updated successfully, but these errors were encountered: