Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in generated go file: problem with element names containing dashes #152

Open
LeMace opened this issue Jun 24, 2019 · 2 comments
Open

Comments

@LeMace
Copy link

LeMace commented Jun 24, 2019

Example:

<xs:element name="dunning-date" minOccurs="0">

generates:

// date of dunning
Dunning-date string xml:"dunning-date,omitempty"

Is it possible to generate variable names with camel case instead? Because the example code above is no valid go code.

@unkeep
Copy link

unkeep commented Jul 5, 2019

fix.patch.txt

@prologic
Copy link

prologic commented Oct 3, 2022

@unkeep Your patch no longer applies to the master branch I'm afraid. But I still run into this specific error myself, trying to understand where its coming from and how to handle it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants