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

Choice elements not being generated #34

Closed
sanbornm opened this issue Sep 9, 2015 · 3 comments
Closed

Choice elements not being generated #34

sanbornm opened this issue Sep 9, 2015 · 3 comments
Labels

Comments

@sanbornm
Copy link
Collaborator

sanbornm commented Sep 9, 2015

It looks like elements wrapped in the choice tag are not being generated. I see there are some test fixtures with choice tags but I don't see any tests for them. I tried troubleshooting this myself but was unsuccessful. Can you try generating a wsdl with choice elements or point me in the right direction for adding support for these.

It looks like the ec2 fixture has choice elements.

Thanks!

@c4milo
Copy link
Member

c4milo commented Sep 9, 2015

Confirmed. It happens with choice elements nested within sequence elements.

@c4milo c4milo added the bug label Sep 9, 2015
sanbornm added a commit to sanbornm/gowsdl that referenced this issue Sep 11, 2015
@sanbornm
Copy link
Collaborator Author

Once 2e8ea25 is merged in this can probably be closed. I am not sure this is the best solution but it does fix the issue.

@c4milo
Copy link
Member

c4milo commented Sep 12, 2015

This is not the more generic solution considering that sequence elements can also have: (element|group|choice|sequence|any)*. But, let's keep it simple and only for nested choice elements for now. The change landed in 4e0b9fe

@c4milo c4milo closed this as completed Sep 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants