{"action":"closed","number":62,"pull_request":{"url":"https://api.github.com/repos/drmohundro/SWXMLHash/pulls/62","id":57165211,"html_url":"https://github.com/drmohundro/SWXMLHash/pull/62","diff_url":"https://github.com/drmohundro/SWXMLHash/pull/62.diff","patch_url":"https://github.com/drmohundro/SWXMLHash/pull/62.patch","issue_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/62","number":62,"state":"closed","locked":false,"title":"Add specs and support for mixed content","user":{"login":"drmohundro","id":43072,"avatar_url":"https://avatars.githubusercontent.com/u/43072?v=3","gravatar_id":"","url":"https://api.github.com/users/drmohundro","html_url":"https://github.com/drmohundro","followers_url":"https://api.github.com/users/drmohundro/followers","following_url":"https://api.github.com/users/drmohundro/following{/other_user}","gists_url":"https://api.github.com/users/drmohundro/gists{/gist_id}","starred_url":"https://api.github.com/users/drmohundro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmohundro/subscriptions","organizations_url":"https://api.github.com/users/drmohundro/orgs","repos_url":"https://api.github.com/users/drmohundro/repos","events_url":"https://api.github.com/users/drmohundro/events{/privacy}","received_events_url":"https://api.github.com/users/drmohundro/received_events","type":"User","site_admin":false},"body":"This commit adds initial support for mixed content (i.e. text + XML inside an element) and should fix issue #33.\r\n\r\nTo support a variety of text/XML content, the general approach to text had to change - before, text was handled via simple string concatenation. The problem, though, is that this means that an element either has children or text - no options.\r\n\r\nNow, there is the concept of both TextElements and XMLElements - both are stored as children of an element. This change should be API backwards compatible.","created_at":"2016-01-26T03:12:24Z","updated_at":"2016-01-27T18:49:47Z","closed_at":"2016-01-27T18:49:46Z","merged_at":"2016-01-27T18:49:46Z","merge_commit_sha":"1b6e7ab391ac1724e2605873323378793df22673","assignee":{"login":"drmohundro","id":43072,"avatar_url":"https://avatars.githubusercontent.com/u/43072?v=3","gravatar_id":"","url":"https://api.github.com/users/drmohundro","html_url":"https://github.com/drmohundro","followers_url":"https://api.github.com/users/drmohundro/followers","following_url":"https://api.github.com/users/drmohundro/following{/other_user}","gists_url":"https://api.github.com/users/drmohundro/gists{/gist_id}","starred_url":"https://api.github.com/users/drmohundro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmohundro/subscriptions","organizations_url":"https://api.github.com/users/drmohundro/orgs","repos_url":"https://api.github.com/users/drmohundro/repos","events_url":"https://api.github.com/users/drmohundro/events{/privacy}","received_events_url":"https://api.github.com/users/drmohundro/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/drmohundro/SWXMLHash/pulls/62/commits","review_comments_url":"https://api.github.com/repos/drmohundro/SWXMLHash/pulls/62/comments","review_comment_url":"https://api.github.com/repos/drmohundro/SWXMLHash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/62/comments","statuses_url":"https://api.github.com/repos/drmohundro/SWXMLHash/statuses/cf5e4ad936ad287f357872543c6178d3a39f8c4d","head":{"label":"drmohundro:add-mixed-text-support","ref":"add-mixed-text-support","sha":"cf5e4ad936ad287f357872543c6178d3a39f8c4d","user":{"login":"drmohundro","id":43072,"avatar_url":"https://avatars.githubusercontent.com/u/43072?v=3","gravatar_id":"","url":"https://api.github.com/users/drmohundro","html_url":"https://github.com/drmohundro","followers_url":"https://api.github.com/users/drmohundro/followers","following_url":"https://api.github.com/users/drmohundro/following{/other_user}","gists_url":"https://api.github.com/users/drmohundro/gists{/gist_id}","starred_url":"https://api.github.com/users/drmohundro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmohundro/subscriptions","organizations_url":"https://api.github.com/users/drmohundro/orgs","repos_url":"https://api.github.com/users/drmohundro/repos","events_url":"https://api.github.com/users/drmohundro/events{/privacy}","received_events_url":"https://api.github.com/users/drmohundro/received_events","type":"User","site_admin":false},"repo":{"id":21636933,"name":"SWXMLHash","full_name":"drmohundro/SWXMLHash","owner":{"login":"drmohundro","id":43072,"avatar_url":"https://avatars.githubusercontent.com/u/43072?v=3","gravatar_id":"","url":"https://api.github.com/users/drmohundro","html_url":"https://github.com/drmohundro","followers_url":"https://api.github.com/users/drmohundro/followers","following_url":"https://api.github.com/users/drmohundro/following{/other_user}","gists_url":"https://api.github.com/users/drmohundro/gists{/gist_id}","starred_url":"https://api.github.com/users/drmohundro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmohundro/subscriptions","organizations_url":"https://api.github.com/users/drmohundro/orgs","repos_url":"https://api.github.com/users/drmohundro/repos","events_url":"https://api.github.com/users/drmohundro/events{/privacy}","received_events_url":"https://api.github.com/users/drmohundro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drmohundro/SWXMLHash","description":"Simple XML parsing in Swift","fork":false,"url":"https://api.github.com/repos/drmohundro/SWXMLHash","forks_url":"https://api.github.com/repos/drmohundro/SWXMLHash/forks","keys_url":"https://api.github.com/repos/drmohundro/SWXMLHash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drmohundro/SWXMLHash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drmohundro/SWXMLHash/teams","hooks_url":"https://api.github.com/repos/drmohundro/SWXMLHash/hooks","issue_events_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/events{/number}","events_url":"https://api.github.com/repos/drmohundro/SWXMLHash/events","assignees_url":"https://api.github.com/repos/drmohundro/SWXMLHash/assignees{/user}","branches_url":"https://api.github.com/repos/drmohundro/SWXMLHash/branches{/branch}","tags_url":"https://api.github.com/repos/drmohundro/SWXMLHash/tags","blobs_url":"https://api.github.com/repos/drmohundro/SWXMLHash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drmohundro/SWXMLHash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drmohundro/SWXMLHash/git/refs{/sha}","trees_url":"https://api.github.com/repos/drmohundro/SWXMLHash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drmohundro/SWXMLHash/statuses/{sha}","languages_url":"https://api.github.com/repos/drmohundro/SWXMLHash/languages","stargazers_url":"https://api.github.com/repos/drmohundro/SWXMLHash/stargazers","contributors_url":"https://api.github.com/repos/drmohundro/SWXMLHash/contributors","subscribers_url":"https://api.github.com/repos/drmohundro/SWXMLHash/subscribers","subscription_url":"https://api.github.com/repos/drmohundro/SWXMLHash/subscription","commits_url":"https://api.github.com/repos/drmohundro/SWXMLHash/commits{/sha}","git_commits_url":"https://api.github.com/repos/drmohundro/SWXMLHash/git/commits{/sha}","comments_url":"https://api.github.com/repos/drmohundro/SWXMLHash/comments{/number}","issue_comment_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/comments{/number}","contents_url":"https://api.github.com/repos/drmohundro/SWXMLHash/contents/{+path}","compare_url":"https://api.github.com/repos/drmohundro/SWXMLHash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drmohundro/SWXMLHash/merges","archive_url":"https://api.github.com/repos/drmohundro/SWXMLHash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drmohundro/SWXMLHash/downloads","issues_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues{/number}","pulls_url":"https://api.github.com/repos/drmohundro/SWXMLHash/pulls{/number}","milestones_url":"https://api.github.com/repos/drmohundro/SWXMLHash/milestones{/number}","notifications_url":"https://api.github.com/repos/drmohundro/SWXMLHash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drmohundro/SWXMLHash/labels{/name}","releases_url":"https://api.github.com/repos/drmohundro/SWXMLHash/releases{/id}","deployments_url":"https://api.github.com/repos/drmohundro/SWXMLHash/deployments","created_at":"2014-07-09T02:53:38Z","updated_at":"2016-01-27T17:00:55Z","pushed_at":"2016-01-27T18:49:46Z","git_url":"git://github.com/drmohundro/SWXMLHash.git","ssh_url":"git@github.com:drmohundro/SWXMLHash.git","clone_url":"https://github.com/drmohundro/SWXMLHash.git","svn_url":"https://github.com/drmohundro/SWXMLHash","homepage":null,"size":426,"stargazers_count":398,"watchers_count":398,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":6,"forks":57,"open_issues":6,"watchers":398,"default_branch":"master"}},"base":{"label":"drmohundro:master","ref":"master","sha":"a618f032223f39cfc4d9495592480c04d2e3e8c0","user":{"login":"drmohundro","id":43072,"avatar_url":"https://avatars.githubusercontent.com/u/43072?v=3","gravatar_id":"","url":"https://api.github.com/users/drmohundro","html_url":"https://github.com/drmohundro","followers_url":"https://api.github.com/users/drmohundro/followers","following_url":"https://api.github.com/users/drmohundro/following{/other_user}","gists_url":"https://api.github.com/users/drmohundro/gists{/gist_id}","starred_url":"https://api.github.com/users/drmohundro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmohundro/subscriptions","organizations_url":"https://api.github.com/users/drmohundro/orgs","repos_url":"https://api.github.com/users/drmohundro/repos","events_url":"https://api.github.com/users/drmohundro/events{/privacy}","received_events_url":"https://api.github.com/users/drmohundro/received_events","type":"User","site_admin":false},"repo":{"id":21636933,"name":"SWXMLHash","full_name":"drmohundro/SWXMLHash","owner":{"login":"drmohundro","id":43072,"avatar_url":"https://avatars.githubusercontent.com/u/43072?v=3","gravatar_id":"","url":"https://api.github.com/users/drmohundro","html_url":"https://github.com/drmohundro","followers_url":"https://api.github.com/users/drmohundro/followers","following_url":"https://api.github.com/users/drmohundro/following{/other_user}","gists_url":"https://api.github.com/users/drmohundro/gists{/gist_id}","starred_url":"https://api.github.com/users/drmohundro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmohundro/subscriptions","organizations_url":"https://api.github.com/users/drmohundro/orgs","repos_url":"https://api.github.com/users/drmohundro/repos","events_url":"https://api.github.com/users/drmohundro/events{/privacy}","received_events_url":"https://api.github.com/users/drmohundro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drmohundro/SWXMLHash","description":"Simple XML parsing in Swift","fork":false,"url":"https://api.github.com/repos/drmohundro/SWXMLHash","forks_url":"https://api.github.com/repos/drmohundro/SWXMLHash/forks","keys_url":"https://api.github.com/repos/drmohundro/SWXMLHash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drmohundro/SWXMLHash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drmohundro/SWXMLHash/teams","hooks_url":"https://api.github.com/repos/drmohundro/SWXMLHash/hooks","issue_events_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/events{/number}","events_url":"https://api.github.com/repos/drmohundro/SWXMLHash/events","assignees_url":"https://api.github.com/repos/drmohundro/SWXMLHash/assignees{/user}","branches_url":"https://api.github.com/repos/drmohundro/SWXMLHash/branches{/branch}","tags_url":"https://api.github.com/repos/drmohundro/SWXMLHash/tags","blobs_url":"https://api.github.com/repos/drmohundro/SWXMLHash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drmohundro/SWXMLHash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drmohundro/SWXMLHash/git/refs{/sha}","trees_url":"https://api.github.com/repos/drmohundro/SWXMLHash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drmohundro/SWXMLHash/statuses/{sha}","languages_url":"https://api.github.com/repos/drmohundro/SWXMLHash/languages","stargazers_url":"https://api.github.com/repos/drmohundro/SWXMLHash/stargazers","contributors_url":"https://api.github.com/repos/drmohundro/SWXMLHash/contributors","subscribers_url":"https://api.github.com/repos/drmohundro/SWXMLHash/subscribers","subscription_url":"https://api.github.com/repos/drmohundro/SWXMLHash/subscription","commits_url":"https://api.github.com/repos/drmohundro/SWXMLHash/commits{/sha}","git_commits_url":"https://api.github.com/repos/drmohundro/SWXMLHash/git/commits{/sha}","comments_url":"https://api.github.com/repos/drmohundro/SWXMLHash/comments{/number}","issue_comment_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/comments{/number}","contents_url":"https://api.github.com/repos/drmohundro/SWXMLHash/contents/{+path}","compare_url":"https://api.github.com/repos/drmohundro/SWXMLHash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drmohundro/SWXMLHash/merges","archive_url":"https://api.github.com/repos/drmohundro/SWXMLHash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drmohundro/SWXMLHash/downloads","issues_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues{/number}","pulls_url":"https://api.github.com/repos/drmohundro/SWXMLHash/pulls{/number}","milestones_url":"https://api.github.com/repos/drmohundro/SWXMLHash/milestones{/number}","notifications_url":"https://api.github.com/repos/drmohundro/SWXMLHash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drmohundro/SWXMLHash/labels{/name}","releases_url":"https://api.github.com/repos/drmohundro/SWXMLHash/releases{/id}","deployments_url":"https://api.github.com/repos/drmohundro/SWXMLHash/deployments","created_at":"2014-07-09T02:53:38Z","updated_at":"2016-01-27T17:00:55Z","pushed_at":"2016-01-27T18:49:46Z","git_url":"git://github.com/drmohundro/SWXMLHash.git","ssh_url":"git@github.com:drmohundro/SWXMLHash.git","clone_url":"https://github.com/drmohundro/SWXMLHash.git","svn_url":"https://github.com/drmohundro/SWXMLHash","homepage":null,"size":426,"stargazers_count":398,"watchers_count":398,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":6,"forks":57,"open_issues":6,"watchers":398,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drmohundro/SWXMLHash/pulls/62"},"html":{"href":"https://github.com/drmohundro/SWXMLHash/pull/62"},"issue":{"href":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/62"},"comments":{"href":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/drmohundro/SWXMLHash/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/drmohundro/SWXMLHash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drmohundro/SWXMLHash/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/drmohundro/SWXMLHash/statuses/cf5e4ad936ad287f357872543c6178d3a39f8c4d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"drmohundro","id":43072,"avatar_url":"https://avatars.githubusercontent.com/u/43072?v=3","gravatar_id":"","url":"https://api.github.com/users/drmohundro","html_url":"https://github.com/drmohundro","followers_url":"https://api.github.com/users/drmohundro/followers","following_url":"https://api.github.com/users/drmohundro/following{/other_user}","gists_url":"https://api.github.com/users/drmohundro/gists{/gist_id}","starred_url":"https://api.github.com/users/drmohundro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmohundro/subscriptions","organizations_url":"https://api.github.com/users/drmohundro/orgs","repos_url":"https://api.github.com/users/drmohundro/repos","events_url":"https://api.github.com/users/drmohundro/events{/privacy}","received_events_url":"https://api.github.com/users/drmohundro/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":63,"deletions":26,"changed_files":4}}