NamespaceUris specification|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
NamespaceUris specification
Avatar
Joao Carlos Bastos Portela
New Member
Members
Forum Posts: 1
Member Since:
08/11/2025
sp_UserOfflineSmall Offline
1
08/11/2025 - 09:10
sp_Permalink sp_Print

Does the `Uri`s inside `NamespaceUris` need to follow/comply with some ordering when the Nodesets defining the namespaces of the `Uri`s depend on each other?

Clarifying the question:

Imagine the namespace `urn:my:org:inf_model` contains:

    <NamespaceUris>
        <Uri>urn:my:org:inf_model</Uri>
        <Uri>urn:dep2</Uri>
        <Uri>urn:dep1</Uri>
    </NamespaceUris>
    <Models>
        <Model PublicationDate="2025-06-18T14:58:48Z" Version="0.0.0" ModelUri="urn:my:org:inf_model">
            <RequiredModel PublicationDate="1900-01-01T00:00:00" Version="1.04" ModelUri="https://opcfoundation.org/UA/"/>
            <RequiredModel PublicationDate="2021-07-21T07:40:34Z" Version="2.2" ModelUri="urn:dep2"/>
            <RequiredModel PublicationDate="2021-07-21T07:40:34Z" Version="2.2" ModelUri="urn:dep1"/>
        </Model>
    </Models>

 

And `urn:dep2` contains:

    <NamespaceUris>
        <Uri>urn:dep2</Uri>
        <Uri>urn:dep1</Uri>
    </NamespaceUris>
    <Models>
        <Model PublicationDate="2025-06-18T14:58:48Z" Version="0.0.0" ModelUri="urn:dep2">
            <RequiredModel PublicationDate="1900-01-01T00:00:00" Version="1.04" ModelUri="https://opcfoundation.org/UA/"/>
            <RequiredModel PublicationDate="2021-07-21T07:40:34Z" Version="2.2" ModelUri="urn:dep1"/>
        </Model>
    </Models>
 
And `urn:dep1` has not other dependencies.
 
So here we see that `urn:dep2` depends on `urn:dep1`; `urn:my:org:inf_model` depends on both `urn:dep1` and `urn:dep2`, but on the `NamespaceUris` of `urn:my:org:inf_model` the `urn:dep1` comes before `urn:dep2`.
 
Why I ask: because with one of the open source OPC UA server SDKs I having issues loading such nodesets and I am wondering if the issue is on the nodeset design or if the server SDK needs to be adjusted/fixed.
Avatar
Randy Armstrong
Admin
Forum Posts: 1652
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
08/11/2025 - 11:56
sp_Permalink sp_Print

The ordering of the RequiredModelhas no significance. 

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 71
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1504
Posts: 5093