Closed bergtwvd closed 5 years ago
It seems that there is a conflict in the files BasicSimpleTypes.xml and RPR_FOM_v2.0_1516-2010.xml. The RTI says: Failed merging user defined tags. Normally the FOM/SOM files can only be merged when the definitions are identical for the same type in all files.
That's right, but I do not see any issues with the files. I need to reproduce this outside the IVCT; probably beginning of next year.
The reason why this worked in the past with the MaK LRC image is that I used relaxed RTI compliance settings. In the latest MaK LRC image the settings are for strict compliance.
The feedback from MaK is:
The problem with the merge is the user defined tags. The specification indicates that this table shall be identical in all FOM modules if present. The BasicSimpleTypes.xml file includes the table as empty which is not the same as being omitted and this conflicts with the user defined tags included in RPR_FOM_v2.0_1516-2010.xml.
"The tables for time representation, switches, and user defined tags shall be provided in at least one FOM or SOM. The tables shall be identical to the corresponding tables in the FOM/SOM modules."
I confirmed the fix. The <tags></tags>
needs to be removed from BasicSimpleTypes.xml
.
P.s. what tool was used to create the BasicSimpleTypes.xml
file ?
We don't use any tools for editing the FOM/SOM files. The file was simply created by an editor without any consistency checks. The
Fixed by removing the tags section from the FOM.
When I use the Shipsim test composition for the encoding tests using the MaK RTI (see https://github.com/MSG134/IVCT_Compositions/blob/master/Shipsim/ma-docker-compose.yml), then I get a FOM merge error.
Note that the RID settings for the MaK LRC base image are configured to be strict.
Clues?
Log: