{"action":"closed","issue":{"url":"https://api.github.com/repos/mganss/XmlSchemaClassGenerator/issues/17","repository_url":"https://api.github.com/repos/mganss/XmlSchemaClassGenerator","labels_url":"https://api.github.com/repos/mganss/XmlSchemaClassGenerator/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/mganss/XmlSchemaClassGenerator/issues/17/comments","events_url":"https://api.github.com/repos/mganss/XmlSchemaClassGenerator/issues/17/events","html_url":"https://github.com/mganss/XmlSchemaClassGenerator/issues/17","id":178388723,"number":17,"title":"Namespace mapping with includes","user":{"login":"Falco20019","id":940619,"avatar_url":"https://avatars.githubusercontent.com/u/940619?v=3","gravatar_id":"","url":"https://api.github.com/users/Falco20019","html_url":"https://github.com/Falco20019","followers_url":"https://api.github.com/users/Falco20019/followers","following_url":"https://api.github.com/users/Falco20019/following{/other_user}","gists_url":"https://api.github.com/users/Falco20019/gists{/gist_id}","starred_url":"https://api.github.com/users/Falco20019/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Falco20019/subscriptions","organizations_url":"https://api.github.com/users/Falco20019/orgs","repos_url":"https://api.github.com/users/Falco20019/repos","events_url":"https://api.github.com/users/Falco20019/events{/privacy}","received_events_url":"https://api.github.com/users/Falco20019/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-21T15:53:24Z","updated_at":"2016-09-22T13:23:57Z","closed_at":"2016-09-22T13:23:57Z","body":"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.\r\n\r\nBefore, 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."}}
{"actor":{"display_login":"mganss"}}