Also, when loading either the v12 xsd or the v13 xsd into the XmlSerializer class in C#, a System.InvalidOperationException is thrown:
configuration.configuration_13.configuration mexConfiguration;
Type configurationType = typeof(configuration.configuration_13.configuration);
// Serialize the configuration file (mex)
XmlSerializer ser = new XmlSerializer(configurationType);
System.InvalidOperationException
HResult=0x80131509
Message=Unable to generate a temporary class (result=1).
error CS0030: Cannot convert type 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister[]' to 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister'
error CS0030: Cannot convert type 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister[]' to 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister'
error CS0029: Cannot implicitly convert type 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister' to 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister[]'
error CS0029: Cannot implicitly convert type 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister' to 'GenBoardFile.configuration.configuration_13.configurationToolsDcdDcdx_configurationsDcdx_configurationCommand_groupsCommand_groupCommandRegistersRegister[]'
Source=System.Xml
This is of course besides the still existing circular definition due to periphs_setting_list (but I can comment that out in the xsd).
This must be because of some problem in the xml. Any idea?
If I comment out everything to do with configurationToolsDcd and configurationToolsDcdx in the .cs file, my tool works.
We use the Config Tool xml files to generate board header files for our BSP, but with every new version of the Config Tool we run into more and more issues with the xsd/xml.