media-io / xml-schema

Generate rust code (structures and enum) from XSD
MIT License
53 stars 29 forks source link

Add extension group support #33

Closed matzipan closed 10 months ago

matzipan commented 11 months ago

Related to #3

Still missing "all" and "choice" (#20).

matzipan commented 11 months ago

I don't really like this implementation. A nicer one would get the fields for the target struct and create a list instead of just a reference (same for the extension base). But I wasn't sure how to reach that so if you have any suggestions, it's welcome. Maybe a two-pass implementation?

matzipan commented 10 months ago

@MarcAntoine-Arnaud do you think there's any path to get this merged? If not, could you please comment on what adjustments I should make.

MarcAntoine-Arnaud commented 10 months ago

Sorry more time was needed to understand your code. I have review it and merged.

Thank you !

matzipan commented 10 months ago

Sorry my comment was not meant as pressure - I just wanted to get a rough idea.