View Issue Details

IDProjectCategoryView StatusLast Update
0005756NodeSets, XSDs and Generated CodeImplementation Bugpublic2021-07-06 16:57
ReporterHerbert Oppmann Assigned ToRandy Armstrong  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Summary0005756: Several NodeSet XML files contain invalid Locale in LocalizedText in "EnumValues" properties
Description

While decoding some files in the binary nodeset file format used in the UA high performance SDK my tool complained about invalid Locale values within LocalizedText. The Locale consisted of Carriage Return + Line Feed + 10 space characters. This happened within "EnumValues" properties. I found out that this invalid Locale value was already this way in the XML NodeSet. Several NodeSets are affected, including the following: Core, DI, ADI, FDI plus probably more.

For example:
In Core (Opc.Ua.NodeSet2.xml), Version="1.04.6" PublicationDate="2020-04-14T00:00:00Z", see line 160ff:
<UAVariable NodeId="i=12169" BrowseName="EnumValues" ParentNodeId="i=120" DataType="i=7594" ValueRank="1" ArrayDimensions="0">
<DisplayName>EnumValues</DisplayName>
...
<EnumValueType>
<Value>1</Value>
<DisplayName>
<Locale>
</Locale>
<Text>Mandatory</Text>
</DisplayName>
<Description>
<Locale>
</Locale>
<Text>The BrowseName must appear in all instances of the type.</Text>
</Description>
</EnumValueType>

Of course one could make this element empty like this <Locale/>, but it should actually be omitted (it is optional according to Opc.Ua.Types.xsd).

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0006106 closedRandy Armstrong OPC UA UANodeset has invalid <Locale> in XML encoded EnumValues 

Activities

Herbert Oppmann

2020-06-22 15:50

reporter   ~0012492

Also on "EnumStrings" properties.

Randy Armstrong

2020-09-08 01:47

administrator   ~0012761

Fixed encoder to omit null element values instead of adding spurious line feeds.

Randy Armstrong

2021-03-02 19:31

administrator   ~0013916

Fixed in 1.04.8.

Randy Armstrong

2021-07-06 16:57

administrator   ~0014657

Reviewed in UA WG meeting.

Issue History

Date Modified Username Field Change
2020-06-22 15:47 Herbert Oppmann New Issue
2020-06-22 15:50 Herbert Oppmann Note Added: 0012492
2020-07-07 16:50 Jim Luth Assigned To => Randy Armstrong
2020-07-07 16:50 Jim Luth Status new => assigned
2020-09-08 01:47 Randy Armstrong Status assigned => resolved
2020-09-08 01:47 Randy Armstrong Resolution open => fixed
2020-09-08 01:47 Randy Armstrong Note Added: 0012761
2020-11-10 17:42 Jim Luth Relationship added related to 0006106
2021-03-02 19:31 Randy Armstrong Note Added: 0013916
2021-07-06 16:57 Randy Armstrong Status resolved => closed
2021-07-06 16:57 Randy Armstrong Note Added: 0014657