xsdata icon indicating copy to clipboard operation
xsdata copied to clipboard

Optional elements of the same type in sequence get wrong types

Open ocktowen opened this issue 4 months ago • 1 comments

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

ocktowen avatar Aug 25 '25 12:08 ocktowen

Can you please post here a minimal example, its not easy to spot the issue in the repo

tefra avatar Dec 04 '25 17:12 tefra