willemdj / erlsom

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

fix: Don't duplicate #text elements. #86

Closed kape1395 closed 1 year ago

kape1395 commented 1 year ago

The duplicate #text elements were generated in the case, when xsd:extension was used for xsd:simpleContent. That was causing the generated records being invalid. We solve this by filter the duplicate elements.