{"action":"created","issue":{"url":"https://api.github.com/repos/node-xmpp/ltx/issues/59","labels_url":"https://api.github.com/repos/node-xmpp/ltx/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/node-xmpp/ltx/issues/59/comments","events_url":"https://api.github.com/repos/node-xmpp/ltx/issues/59/events","html_url":"https://github.com/node-xmpp/ltx/pull/59","id":90338905,"number":59,"title":"+ Expose expat parser reset function.","user":{"login":"dreamersp","id":1950874,"avatar_url":"https://avatars.githubusercontent.com/u/1950874?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamersp","html_url":"https://github.com/dreamersp","followers_url":"https://api.github.com/users/dreamersp/followers","following_url":"https://api.github.com/users/dreamersp/following{/other_user}","gists_url":"https://api.github.com/users/dreamersp/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamersp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamersp/subscriptions","organizations_url":"https://api.github.com/users/dreamersp/orgs","repos_url":"https://api.github.com/users/dreamersp/repos","events_url":"https://api.github.com/users/dreamersp/events{/privacy}","received_events_url":"https://api.github.com/users/dreamersp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-23T09:49:47Z","updated_at":"2015-09-03T06:35:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/node-xmpp/ltx/pulls/59","html_url":"https://github.com/node-xmpp/ltx/pull/59","diff_url":"https://github.com/node-xmpp/ltx/pull/59.diff","patch_url":"https://github.com/node-xmpp/ltx/pull/59.patch"},"body":"As in WebSockets we need to reset the parser to tell it that the new code is a new document with its document root by itself, we need this reset to be called."},"comment":{"url":"https://api.github.com/repos/node-xmpp/ltx/issues/comments/137350194","html_url":"https://github.com/node-xmpp/ltx/pull/59#issuecomment-137350194","issue_url":"https://api.github.com/repos/node-xmpp/ltx/issues/59","id":137350194,"user":{"login":"dreamersp","id":1950874,"avatar_url":"https://avatars.githubusercontent.com/u/1950874?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamersp","html_url":"https://github.com/dreamersp","followers_url":"https://api.github.com/users/dreamersp/followers","following_url":"https://api.github.com/users/dreamersp/following{/other_user}","gists_url":"https://api.github.com/users/dreamersp/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamersp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamersp/subscriptions","organizations_url":"https://api.github.com/users/dreamersp/orgs","repos_url":"https://api.github.com/users/dreamersp/repos","events_url":"https://api.github.com/users/dreamersp/events{/privacy}","received_events_url":"https://api.github.com/users/dreamersp/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T06:35:21Z","updated_at":"2015-09-03T06:35:21Z","body":"I thought that while we need a new context as is a new document to be parsed what we get in the wire, shall be nice to reuse the already created parser thus calling reset to make it start anew was more straightforward and memory&process-savvy."}}