I had XSD, where a complexType had element and attribute with the same name. Erlsom produced an HRL file containing records with two fields of equal names (invalid records). I added an option {attribute_hrl_prefix, AttrPrefix :: string()} that defaults to "".
I also added ifndefs around standard types in the generated HRLs to be able to use several XSD HRLs in single erlang module.
I had XSD, where a complexType had element and attribute with the same name. Erlsom produced an HRL file containing records with two fields of equal names (invalid records). I added an option {attribute_hrl_prefix, AttrPrefix :: string()} that defaults to "".
I also added ifndefs around standard types in the generated HRLs to be able to use several XSD HRLs in single erlang module.