I'm facing the following error while trying to generate Rust's structs for the following xsd input.txt (I've changed to extension to .txt to be able to upload the file)
P.S: I managed to reproduce the problem with a test and I've also tried to implement a fix but I think that it is not quite correct. Here's the draft PR: https://github.com/lumeohq/xsd-parser-rs/pull/109
Hi sorry for the bother.
I'm facing the following error while trying to generate Rust's structs for the following xsd input.txt (I've changed to extension to
.txt
to be able to upload the file)By looking at the code it seems that the problem may lie in the presence of nested
sequence
fields in the xsd input file.I tried to look inside both the code base and the test suite but I didn't find anything useful to endorse my guess 😞
Obviously do not hesitate to ask for any kind of additional info I may have missed to specify.