Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Namespace mapping with includes #17

Closed
Falco20019 opened this issue Sep 21, 2016 · 1 comment
Closed

Namespace mapping with includes #17

Falco20019 opened this issue Sep 21, 2016 · 1 comment

Comments

@Falco20019
Copy link

When including files with only types and no elements, the namespaces won't get mapped properly. This is due to the fact, that in Generator.BuildModel(), the GlobalElements get processed before the GlobalTypes. I swapped the order to get it working and had no problems using it.

Before, all included types got included into the namespace of the includer. Therefore, I ended with multiple copies of the same type, distributed between different namespaces.

@mganss mganss closed this as completed in 7b0ce51 Sep 22, 2016
@mganss
Copy link
Owner

mganss commented Sep 22, 2016

Thanks for reporting this!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants