Nodeset file default values, is prefix "uax:" mandatory? | OPC UA Standard | Forum

Forum Scope


Forum Options

Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Nodeset file default values, is prefix "uax:" mandatory?
Martin Lang
Forum Posts: 60
Member Since:
sp_UserOfflineSmall Offline
10/14/2021 - 04:27
sp_Permalink sp_Print

What is correct according the official schema xsd for default value in a Nodeset XML?


or w/o uax:



Randy Armstrong
Forum Posts: 798
Member Since:
sp_UserOfflineSmall Offline
10/14/2021 - 05:17
sp_Permalink sp_Print sp_EditHistory

We added some clarifications in 1.05:

Every UANodeSet that defines DataTypes has associated schema files that define how to serialize the DataTypes using the UA Binary Encoding (5.2) and the UA XML Encoding (5.3). The XML schema file may be referenced by the UANodeSet if it includes Variable Values (F.8) for one or more of the DataTypes defined in the UANodeSet. The namespace URI assigned to the XML schema is set by the tool that generated it. The URI for the XML schema for OPC UA DataTypes is

IOW, the elements in the DefaultValue value always use a different URI than the UANodeSet schema URI.

Any prefix can be used but uax: is what the tooling currently uses.

Note that serializing Structures of DataTypes defined in non-UA namespaces would reference a different schema and require a different prefix assigned in the XML file.

The XML schema for a NodeSet is usually published as a separate file but it is also the value of a Property of the DataTypeDictionary Node for the XML Type System that is part of any 1.04 or earlier NodeSet.

In 1.05 or later a new XmlSchemaUri will be added to the UANodeSet element.

Forum Timezone: America/Phoenix
Most Users Ever Online: 202
Currently Online:
Guest(s) 24
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 9
Topics: 966
Posts: 3021