media-io / xml-schema

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

Type "float" not implemented #9

Closed NelDav closed 1 year ago

NelDav commented 4 years ago

I get this error when trying to create a struct.

According to this side, float is a regular xsd datatype: https://www.data2type.de/xml-xslt-xslfo/xml-schema/datentypen-referenz/xs-float/

I changed all floats of the xsd file to double. Now it works. But I think It would be nice, if xml-schema supports floats.

I am absolute new in this subject. Please correct me if I am wrong.