View Issue Details

IDProjectCategoryView StatusLast Update
0005412NodeSets, XSDs and Generated CodeImplementation Bugpublic2021-03-02 18:48
ReporterThomas Merk Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Summary0005412: DataTypes incorrect defined
Description

Many data types (especially the data types of Part 14 ) are defined incorrect, both in NodeSet2.xml (Definition tag) and binary dictionary.
Instead of (also defined) abstract type the general "Structure" is used there.

In dictionary: "ua:ExtensionObject"
In NodeSet2: "i=22"

E.g.

  • PublishedDataSetDataType / DataSetSource
  • DataSetWriterDataType / TransportSettings
  • DataSetWriterDataType / MessageSettings

With the definition there it would be allowed, to encode ANY structure (e.g. BuildInfo) as field data type.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

duplicate of 0005664 closedRandy Armstrong NodeSets, XSDs and Generated Code WriterGroupDataType transportSettings and messageSettings fields are of the wrong type 
related to 0005392 closedRandy Armstrong 10000-006: Mappings Used BaseType in dictionary missing 

Activities

Randy Armstrong

2020-04-10 03:41

administrator   ~0011888

Added AbstractDataType to DataTypeField which can be used by code generators to produce type safe code.

The DataType of ExtensionObject is required because it defines an encoding format that permits different subtypes to be used for the field because the ExtensionObject includes an explicit type identifier. If the DataType was the Abstract BaseType then only instances of the BaseType could be serialized which is not what is needed.

Randy Armstrong

2020-04-14 15:39

administrator   ~0011912

A known issue with no good resolution.
Needs more discussion.

Randy Armstrong

2021-03-02 13:43

administrator   ~0013877

AllowSubtypes flag added. NodeSet updated.

Jim Luth

2021-03-02 18:48

administrator   ~0013908

Agreed to dup in Virtual F2F.

Issue History

Date Modified Username Field Change
2020-01-29 15:08 Thomas Merk New Issue
2020-04-10 03:41 Randy Armstrong Assigned To => Randy Armstrong
2020-04-10 03:41 Randy Armstrong Status new => resolved
2020-04-10 03:41 Randy Armstrong Resolution open => fixed
2020-04-10 03:41 Randy Armstrong Note Added: 0011888
2020-04-14 15:39 Randy Armstrong Status resolved => feedback
2020-04-14 15:39 Randy Armstrong Resolution fixed => reopened
2020-04-14 15:39 Randy Armstrong Note Added: 0011912
2020-04-14 15:40 Randy Armstrong Status feedback => assigned
2020-04-14 15:40 Randy Armstrong Relationship added related to 0003592
2020-04-14 15:40 Randy Armstrong Relationship added related to 0005392
2020-04-14 15:41 Randy Armstrong Relationship deleted related to 0003592
2020-11-10 18:03 Randy Armstrong Relationship added duplicate of 0005664
2021-03-02 13:43 Randy Armstrong Status assigned => resolved
2021-03-02 13:43 Randy Armstrong Resolution reopened => duplicate
2021-03-02 13:43 Randy Armstrong Note Added: 0013877
2021-03-02 18:46 Randy Armstrong Target Version => 1.04
2021-03-02 18:48 Jim Luth Status resolved => closed
2021-03-02 18:48 Jim Luth Note Added: 0013908