xsdata
xsdata copied to clipboard
Optional elements of the same type in sequence get wrong types
When there are several optional elements of the same type defined in a sequence (and in a choice) at the moment they are converted to json or dict they have the same data, and when converted to xml they are all of the same type.
Reproduction in this repo
Can you please post here a minimal example, its not easy to spot the issue in the repo