gowsdl icon indicating copy to clipboard operation
gowsdl copied to clipboard

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

Open LeMace opened this issue 6 years ago • 2 comments

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.

LeMace avatar Jun 24 '19 13:06 LeMace

fix.patch.txt

unkeep avatar Jul 05 '19 20:07 unkeep

@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...

prologic avatar Oct 03 '22 02:10 prologic