droyo / go-xml

utility and code-generation libraries for XML
MIT License
304 stars 115 forks source link

fix anon number to not be repeated because of different namespaces #110

Closed carolinasolfernandez closed 4 years ago

carolinasolfernandez commented 4 years ago

Reason: The name of the _anon fields is repeated and overwrite because of different namespaces.

Solution: The counter is not reseted when changes the root