hello is both an element and a type, and AFAIK this is valid XSD. Unfortunately xml-schema-derive tries to create Hello two times in the same module, causing the proc_macro to panic.
Maybe the simplest thing would be to put all types in a pub mod types to avoid collisions, but this would also be a breaking change. What do you think?
Take the following XSD:
hello
is both an element and a type, and AFAIK this is valid XSD. Unfortunatelyxml-schema-derive
tries to createHello
two times in the same module, causing the proc_macro to panic.Maybe the simplest thing would be to put all types in a
pub mod types
to avoid collisions, but this would also be a breaking change. What do you think?