I noticed that the whole code to deserialize a schema is only available in the xml-schema-derive crate. What is the reason to use the xml-schema crate, if it does not include any code related to the schema itself?
I suggest moving the data format into the xml-schema crate and have only the generation in the derive crate.