willemdj / erlsom

XML parser for Erlang
GNU Lesser General Public License v3.0
265 stars 103 forks source link

properly merge attributes for translateType with extends/restricts #46

Closed zuckschwerdt closed 9 years ago

zuckschwerdt commented 9 years ago

Merge type attributes with precedence to the derived type's. Simply appending attributes as in attributes = BaseAttrs ++ Attrs won't reliably work. S.a. #41.