View Issue Details

IDProjectCategoryView StatusLast Update
0008640NodeSets, XSDs and Generated CodeFeature Requestpublic2024-09-10 16:41
ReporterRandy Armstrong Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.05.02 
Target Version1.05.04 RC1Fixed in Version1.05.04 
Summary0008640: Normative BrowseNames that are not used on Types or InstanceDeclarations need to be defined.
Description

Code generators need something in the NodeSet to trigger the generation of a constant for the MachineryBuildingBlocks BrowseName.
We do this with Properties by include unattached Variables. The same is needed for MachineryBuildingBlocks.

This is an issue because the code generated for the MachineTool NodeSet assumes a constant is defined in the Machinery spec because the Namespace of the MachineryBuildingBlocks component is the Machinery specification. There is no work around that does not require hand editing auto-generated code or a complete rewrite of BrowseName handling by generators.

As general principle: if a specification defines a normative BrowseName like MachineryBuildingBlocks then that BrowseName must be defined in a machine readable format.

The unofficial convention with the Core NodeSets has been to add unattached Variables into the NodeSet but there are other options including:

1) A separate BrowseName file like we do with NodeIds;
2) A new top-level element in the NodeSet that defines normative BrowseNames without Nodes;
3) Recommend the creation of an Interface when such BrowseNames are defined on an Object;

But the key point is these BrowseNames are defined somewhere in a machine-readable format. Users should not have copy and paste from a PDF.

TagsNo tags attached.
Commit Version1.05.04
Fix Due Date2024-09-15

Relationships

related to 0008635 acknowledgedHeiko Herden 40001: Machinery Machinery never actually defines the MachineryBuildingBlocks Object. 
related to 0008648 resolvedKarl Deiretsbacher 11020: Companion Spec Template Normative BrowseNames that are not used on Types or InstanceDeclarations need to be defined. 
related to 0009262 closedRandy Armstrong 10000-006: Mappings Normative BrowseNames that are not used on Types or InstanceDeclarations need to be defined. 

Activities

Jim Luth

2023-01-24 16:23

administrator   ~0018561

Agreed to add an attribute to the nodeset to indicate the node is a "template", not a single concrete instance with a well-known nodeid and add a convention to the spec table format to indicate this.

Jim Luth

2023-01-24 16:32

administrator   ~0018563

Don't forget to clone to the validator after the solution is in place.

Jim Luth

2024-06-13 15:37

administrator   ~0021362

Commit for 1.05.04 (but not for 1.05.04 RC)

Randy Armstrong

2024-09-08 03:53

administrator   ~0021676

ModelCompiler now supports DesignToolOnly attribute.
UANodeSet schema updated.

Jim Luth

2024-09-10 16:41

administrator   ~0021704

Agreed to changes in Web Meeting.

Issue History

Date Modified Username Field Change
2023-01-23 09:55 Randy Armstrong New Issue
2023-01-23 09:55 Randy Armstrong Relationship added related to 0008635
2023-01-24 16:23 Jim Luth Note Added: 0018561
2023-01-24 16:25 Jim Luth Assigned To => Randy Armstrong
2023-01-24 16:25 Jim Luth Status new => assigned
2023-01-24 16:28 Jim Luth Issue cloned: 0008648
2023-01-24 16:28 Jim Luth Relationship added related to 0008648
2023-01-24 16:32 Jim Luth Note Added: 0018563
2023-11-13 16:30 Karl Deiretsbacher Issue cloned: 0009262
2023-11-13 16:33 Randy Armstrong Relationship added related to 0009262
2023-11-14 16:24 Randy Armstrong Target Version 1.05.03 RC1 => 1.05.04 RC1
2023-11-14 16:25 Jim Luth Commit Version => 1.05.04 RC
2023-11-14 16:25 Jim Luth Fix Due Date => 2023-12-15
2024-06-13 15:37 Jim Luth Commit Version 1.05.04 RC =>
2024-06-13 15:37 Jim Luth Note Added: 0021362
2024-08-13 16:51 Jim Luth Commit Version => 1.05.04
2024-08-13 16:51 Jim Luth Fix Due Date 2023-12-15 => 2024-09-15
2024-09-08 03:53 Randy Armstrong Status assigned => resolved
2024-09-08 03:53 Randy Armstrong Resolution open => fixed
2024-09-08 03:53 Randy Armstrong Note Added: 0021676
2024-09-10 16:41 Jim Luth Status resolved => closed
2024-09-10 16:41 Jim Luth Fixed in Version => 1.05.04
2024-09-10 16:41 Jim Luth Note Added: 0021704