View Issue Details

IDProjectCategoryView StatusLast Update
0010292NodeSets, XSDs and Generated CodeSpecpublic2025-04-23 10:21
Reporterlacroix Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.05.04 
Summary0010292: Incorrect ValueRank field value in 1.05.04 base NodeSet
Description

Trying to load 1.05 base nodeSet (https://reference.opcfoundation.org/nodesets/162), one issue is raised with the following part of XML file:

 <UADataType NodeId="i=19311" BrowseName="JsonNetworkMessage" Purpose="ServicesOnly">
    <DisplayName>JsonNetworkMessage</DisplayName>
    <References>
      <Reference ReferenceType="HasSubtype" IsForward="false">i=22</Reference>
    </References>
    <Definition Name="JsonNetworkMessage">
      <Field Name="MessageId" DataType="i=12" />
      <Field Name="MessageType" DataType="i=12" />
      <Field Name="PublisherId" DataType="i=12" />
      <Field Name="WriterGroupName" DataType="i=12" />
      <Field Name="DataSetClassId" DataType="i=12" />
      <Field Name="Messages" DataType="i=22" ValueRank="-2" AllowSubTypes="true" />
    </Definition>
  </UADataType>

Indeed, one field of the structure of a DataType field contains the value -2 as value rank whereas according to the specification, It shall be Scalar (-1) or a fixed rank Array (>=1) (see https://reference.opcfoundation.org/Core/Part3/v105/docs/8.51#_Ref433698626).

Steps To Reproduce

N.A

Additional Information

N.A

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-04-23 10:21 lacroix New Issue