metaleap / go-xsd

[stable since 2013] a lib for loading XML Schema Definition (XSD) files ➜ plus, a tool `makepkg` to code-generate from any *.xsd your Go package with all needed `struct`s to readily `xml.Unmarshal()` documents into, based on the XSD's schema definitions. NOT REALLY MAINTAINED FOR YEARS NOW: try the forks if running into issues.
http://www.reddit.com/r/golang/comments/12g6sl/is_there_a_tool_that_generates_go_source_code_for/
MIT License
216 stars 66 forks source link

extremely long generated names #35

Closed andersfylling closed 4 years ago

andersfylling commented 6 years ago

Here's an example: XsdGoPkgHasElem_Harmonics5ThallTxsdHarmonicsAndFrequencyDataSequenceHarmonicsAndFrequencySequenceHarmonicsPhaseDataharmonicsPhaseDatasequenceTxsdHarmonicsAndFrequencyDataSequenceHarmonicsAndFrequencyharmonicsAndFrequencysequenceTxsdHarmonicsAndFrequencyDataharmonicsAndFrequencyDataschema_Harmonics5Th_TminMaxIntervalValue_

Is there a way to handle this, I assume it's the namespace? (somehow)

fanborges commented 6 years ago

I got this issue too.

andersfylling commented 4 years ago

closed due to no response