I have created a federation using Open HLA, and it works if the federation is created with one XML file, and none of the federates joining specify additional FDD information. However, if a federate joins by specifying additional FDD information (the EXACT SAME file that the federation started with), I get the exception:
Clearly they are compatible, as they are the same file. 1516.1 says in section 4.9 "...Contents of the FOM modules may duplicate information in the current FDD of the federation execution, but they shall not conflict with the current FDD"
I traced through a bit, and it looks like both files are being read, with objects being created for each file; they are then compared using a .equals() based on the reference, versus based on the contents, and so they look incompatible.
Is this feature supposed to be implemented? Is it a bug? Is there a different way to do this?
It is a bug. The declared attribute/parameter maps are checked for equality instead of each attribute/parameter checked for equality (when they have the same name).
I'll fix this in the next release and also add a test case.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.