hooklift/gowsdl

expected ';', found .0 (and 1 more errors)

bmurray opened this issue · 1 comments

When generating from a wsdl file that includes an attribute with a decimal, it generates invalid Go code.

Eg, gowsdl https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl

<xs:attribute name="TLS1.0" type="xs:boolean">

Will generate:

TLS1.0 bool ``xml:"TLS1.0,attr,omitempty" json:"TLS1.0,omitempty"

Which is clearly not a valid Go type.

Ty!