-
Notifications
You must be signed in to change notification settings - Fork 115
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
Panic: xsd: unexpected xsd.Type <nil> <nil> passed to XMLName #6
Comments
doroginin
added a commit
to doroginin/go-xml
that referenced
this issue
Jan 21, 2017
doroginin
added a commit
to doroginin/go-xml
that referenced
this issue
Jan 21, 2017
droyo
added a commit
that referenced
this issue
Jan 21, 2017
[#6] Fix panic for simple types This is great. With two lines of code you've eliminated two redundant checks.
@rilinor 's PR has fixed the issue. However, I want to add a test case for this before I close it. |
droyo
added a commit
that referenced
this issue
Jan 21, 2017
Fixed and test case is in place so I won't make the same mistake again. Thanks @rilinor and @dd-akd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I try to generate structs for this xsd with this command
xsdgen -o schema.go -pkg types -vv Types.xsd
and get panic:The text was updated successfully, but these errors were encountered: