View Issue Details

IDProjectCategoryView StatusLast Update
0010292NodeSets, XSDs and Generated CodeSpecpublic2025-05-13 15:38
Reporterlacroix Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
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

Jim Luth

2025-05-13 15:38

administrator   ~0022730

Add note to the description for this node in the nodeset to indicate it is here to get "close" but exact serialization requires custom code,

Issue History

Date Modified Username Field Change
2025-04-23 10:21 lacroix New Issue
2025-05-13 15:38 Jim Luth Note Added: 0022730
2025-05-13 15:38 Jim Luth Assigned To => Randy Armstrong
2025-05-13 15:38 Jim Luth Status new => assigned