-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML ToolInformation.components and Authors serialization/deserialization for 2nd component/author generated wrong? #562
Comments
I thought I could workaround the XML deserialization problem, by always creating a new sizeable List, like this:
However, I then get many spurious entries in the XML:
JSON seems fine:
|
Seems the problem is to do with XML Deserialization and/or Serialization of Arrays, as i've found it affects "authors" list as well.
|
We're seeing a similar problem in ORT when adding a second component here, though getting a different errors message:
JSON serialization indeed works. |
I think this issue is related to #492 |
@andrew-m-leonard I am looking into this |
When adding a new Component to an existing ToolInformation.components array, eg: say existing is:
Then the following code cannot add a new Component when there is ALREADY one in the XML list, as the backing Array is non-resizeable, this only happens for XML, JSON deserializing seems fine:
The text was updated successfully, but these errors were encountered: