View Issue Details

IDProjectCategoryView StatusLast Update
0009721UAFX NodesetImplementation Bugpublic2024-09-10 16:43
ReporterV. Monfort Assigned ToPaul Hunkar  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0009721: UA FX CM BSD file contains invalid type description (bit fields) compared to NodeSet
Description

The UA FX CM BSD file in tag UAFX-1.00.02-2024-02-02 contains several types using Bit type representation which moreover seems incorrect since NodeSet2 contains a different definition:

opc.ua.fx.cm.types.bsd:

    <opc:StructuredType BaseType="ua:ExtensionObject" Name="CommunicationFlowConfigurationConfDataType">
        <opc:Field TypeName="opc:Bit" Name="FlowPropertiesSpecified"/>
        <opc:Field Length="31" TypeName="opc:Bit" Name="Reserved1"/>
        <opc:Field TypeName="opc:CharArray" Name="BrowseName"/>
        <opc:Field SwitchField="FlowPropertiesSpecified" TypeName="opc:Int32" Name="NoOfFlowProperties"/>
        <opc:Field LengthField="NoOfFlowProperties" SwitchField="FlowPropertiesSpecified" TypeName="ua:KeyValuePair" Name="FlowProperties"/>
    </opc:StructuredType>

opc.ua.fx.cm.nodeset2.xml

  <UADataType NodeId="ns=1;i=13012" BrowseName="1:CommunicationFlowConfigurationConfDataType" IsAbstract="true">
    <DisplayName>CommunicationFlowConfigurationConfDataType</DisplayName>
    <Category>UAFX ConnectionManager Configuration</Category>
    <Documentation>https://reference.opcfoundation.org/UAFX/Part81/v100/docs/F.1.6</Documentation>
    <References>
      <Reference ReferenceType="HasSubtype" IsForward="false">i=22</Reference>
    </References>
    <Definition Name="1:CommunicationFlowConfigurationConfDataType">
      <Field Name="BrowseName" DataType="String" />
      <Field Name="FlowProperties" DataType="KeyValuePair" ValueRank="1" ArrayDimensions="0" IsOptional="true" />
    </Definition>
  </UADataType>

It seems to be the case for all types using "Bit" field types.

TagsNo tags attached.

Activities

V. Monfort

2024-08-05 09:37

reporter   ~0021529

Trying better formatting for XML extracts:

opc.ua.fx.cm.types.bsd:
%%
<opc:StructuredType BaseType="ua:ExtensionObject" Name="CommunicationFlowConfigurationConfDataType">
<opc:Field TypeName="opc:Bit" Name="FlowPropertiesSpecified"/>
<opc:Field Length="31" TypeName="opc:Bit" Name="Reserved1"/>
<opc:Field TypeName="opc:CharArray" Name="BrowseName"/>
<opc:Field SwitchField="FlowPropertiesSpecified" TypeName="opc:Int32" Name="NoOfFlowProperties"/>
<opc:Field LengthField="NoOfFlowProperties" SwitchField="FlowPropertiesSpecified" TypeName="ua:KeyValuePair" Name="FlowProperties"/>
</opc:StructuredType>
%%

opc.ua.fx.cm.nodeset2.xml
%%
<UADataType NodeId="ns=1;i=13012" BrowseName="1:CommunicationFlowConfigurationConfDataType" IsAbstract="true">
<DisplayName>CommunicationFlowConfigurationConfDataType</DisplayName>
<Category>UAFX ConnectionManager Configuration</Category>
<Documentation>https://reference.opcfoundation.org/UAFX/Part81/v100/docs/F.1.6&lt;/Documentation>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">i=22</Reference>
</References>
<Definition Name="1:CommunicationFlowConfigurationConfDataType">
<Field Name="BrowseName" DataType="String" />
<Field Name="FlowProperties" DataType="KeyValuePair" ValueRank="1" ArrayDimensions="0" IsOptional="true" />
</Definition>
</UADataType>
%%

Issue History

Date Modified Username Field Change
2024-08-05 09:31 V. Monfort New Issue
2024-08-05 09:37 V. Monfort Note Added: 0021529
2024-08-13 16:29 Jim Luth Status new => assigned
2024-08-13 16:29 Jim Luth Assigned To => Randy Armstrong
2024-08-13 16:30 Jim Luth Fix Due Date => 2024-09-15
2024-08-13 16:30 Jim Luth Commit Version => 1.05.04
2024-09-10 16:43 Jim Luth Project NodeSets, XSDs and Generated Code => UAFX Nodeset
2024-09-10 16:43 Jim Luth Assigned To Randy Armstrong => Paul Hunkar