lumeohq / xsd-parser-rs

A xsd/wsdl => rust code generator written in rust
Apache License 2.0
96 stars 34 forks source link

Add support for AttributeGroup in xsd-parser #111

Closed fabriceds closed 3 years ago

fabriceds commented 3 years ago

This pull-requests adds support for AttributeGroup to xsd-parser.

The implementation has three main impacts:

With this implementation, the structs generated for types referencing an AttributeGroup have all the fields provided by the AttributeGroup. No struct is generated for the AttributeGroup itself, which seems correct since AttributeGroups cannot appear as such in a XML file.