-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Child element omitted if attribute with enumeration is passed #28
Comments
alexandre-normand
added a commit
to alexandre-normand/xgen
that referenced
this issue
Nov 15, 2021
…Type Was Aborted Prematurely Signed-off-by: Alex Normand <alexandre.normand@gmail.com>
alexandre-normand
added a commit
to alexandre-normand/xgen
that referenced
this issue
Nov 15, 2021
…n ComplexType Fixes issue xuri#28 Signed-off-by: Alex Normand <alexandre.normand@gmail.com>
alexandre-normand
added a commit
to alexandre-normand/xgen
that referenced
this issue
Nov 15, 2021
…n ComplexType Fixes issue xuri#28 Signed-off-by: Alex Normand <alexandre.normand@gmail.com>
Merged
10 tasks
xuri
added a commit
that referenced
this issue
Nov 18, 2021
…arsing Fix for #28: Attribute Enumeration Parsing Aborted Prematurely When Enclosed in ComplexType
I closed this issue, thanks @alexandre-normand. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I've tried to boil it down to the simplest example. I have an XSD as follows:
After generating, the following is generated:
This is missing the Responses key in the Template struct, but adds a
Template string
property from.. somewhere.Removing the
<xs:simpleType>
segment:results in a struct that looks more correct:
Output of
go version
:xgen version or commit ID:
Environment details (OS, physical, etc.):
MacOS, physical
The text was updated successfully, but these errors were encountered: