{"action":"created","issue":{"url":"https://api.github.com/repos/novoda/novoda/issues/9","labels_url":"https://api.github.com/repos/novoda/novoda/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/novoda/novoda/issues/9/comments","events_url":"https://api.github.com/repos/novoda/novoda/issues/9/events","html_url":"https://github.com/novoda/novoda/pull/9","id":89824277,"number":9,"title":"Fixes namespace issue when formatting in xml","user":{"login":"blundell","id":655860,"avatar_url":"https://avatars.githubusercontent.com/u/655860?v=3","gravatar_id":"","url":"https://api.github.com/users/blundell","html_url":"https://github.com/blundell","followers_url":"https://api.github.com/users/blundell/followers","following_url":"https://api.github.com/users/blundell/following{/other_user}","gists_url":"https://api.github.com/users/blundell/gists{/gist_id}","starred_url":"https://api.github.com/users/blundell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blundell/subscriptions","organizations_url":"https://api.github.com/users/blundell/orgs","repos_url":"https://api.github.com/users/blundell/repos","events_url":"https://api.github.com/users/blundell/events{/privacy}","received_events_url":"https://api.github.com/users/blundell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-20T22:06:56Z","updated_at":"2015-06-20T22:26:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/novoda/novoda/pulls/9","html_url":"https://github.com/novoda/novoda/pull/9","diff_url":"https://github.com/novoda/novoda/pull/9.diff","patch_url":"https://github.com/novoda/novoda/pull/9.patch"},"body":" Before | After \r\n-------|-------\r\n![screen shot 2015-06-20 at 23 00 54](https://cloud.githubusercontent.com/assets/655860/8269451/811ee91e-17a0-11e5-8b70-4d5616bf1e17.png)|![screen shot 2015-06-20 at 23 01 01](https://cloud.githubusercontent.com/assets/655860/8269452/85bd2c1a-17a0-11e5-9776-baa1a5222bef.png)\r\nsecond fragment xmlns is in the wrong place|now its in the right place (at the top)\r\n\r\nThe fix was because the namespace we use was not being recognised by the formatting, hence it was never satisfying rule number **(1)** always rule **(5)**. Fixed this by changing the reg to match any namespace for rule (1).\r\n\r\nBefore|After\r\n-----|-----\r\n![screen shot 2015-06-20 at 22 56 54](https://cloud.githubusercontent.com/assets/655860/8269459/f0d434bc-17a0-11e5-9a81-c87b5c76deb1.png)|![screen shot 2015-06-20 at 22 55 39](https://cloud.githubusercontent.com/assets/655860/8269460/f593451a-17a0-11e5-9d89-2ca9314438a8.png)\r\n\r\nThe things exported into the jar are the normal:\r\n\r\n![screen shot 2015-06-20 at 22 58 23](https://cloud.githubusercontent.com/assets/655860/8269463/056f9902-17a1-11e5-96e7-3a865aa1b0c1.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/novoda/novoda/issues/comments/113831242","html_url":"https://github.com/novoda/novoda/pull/9#issuecomment-113831242","issue_url":"https://api.github.com/repos/novoda/novoda/issues/9","id":113831242,"user":{"login":"blundell","id":655860,"avatar_url":"https://avatars.githubusercontent.com/u/655860?v=3","gravatar_id":"","url":"https://api.github.com/users/blundell","html_url":"https://github.com/blundell","followers_url":"https://api.github.com/users/blundell/followers","following_url":"https://api.github.com/users/blundell/following{/other_user}","gists_url":"https://api.github.com/users/blundell/gists{/gist_id}","starred_url":"https://api.github.com/users/blundell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blundell/subscriptions","organizations_url":"https://api.github.com/users/blundell/orgs","repos_url":"https://api.github.com/users/blundell/repos","events_url":"https://api.github.com/users/blundell/events{/privacy}","received_events_url":"https://api.github.com/users/blundell/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T22:26:40Z","updated_at":"2015-06-20T22:26:40Z","body":"it works as expected"}}