xgen -i DATEXIISchema_1_0_1_0_HDT_HDF__TomTomVersion9.xsd -o .\output -l Go
Describe the results you received:
Several errors due to redeclaration of certain identifiers, e.g.:
MeasurementSpecificCharacteristics redeclared in this block
MeasuredValue redeclared in this block (see details)
Describe the results you expected:
Naming conficts should be avoided if the XSD is valid. In go, you could create separate packages to isolate the models or generate model names differently.
Description
Generated Go code contains errors
Steps to reproduce the issue:
Describe the results you received: Several errors due to redeclaration of certain identifiers, e.g.: MeasurementSpecificCharacteristics redeclared in this block MeasuredValue redeclared in this block (see details)
Describe the results you expected: Naming conficts should be avoided if the XSD is valid. In go, you could create separate packages to isolate the models or generate model names differently.
Output of
go version
:xgen version or commit ID:
Environment details (OS, physical, etc.): Windows 10 x64