{"action":"created","issue":{"url":"https://api.github.com/repos/camunda/camunda-bpmn-model/issues/7","labels_url":"https://api.github.com/repos/camunda/camunda-bpmn-model/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/camunda/camunda-bpmn-model/issues/7/comments","events_url":"https://api.github.com/repos/camunda/camunda-bpmn-model/issues/7/events","html_url":"https://github.com/camunda/camunda-bpmn-model/pull/7","id":49527230,"number":7,"title":"feat(bpmn-model) create a BpmnModelInstnace with a copy of the underlying DomDocument","user":{"login":"filiphr","id":6012094,"avatar_url":"https://avatars.githubusercontent.com/u/6012094?v=3","gravatar_id":"","url":"https://api.github.com/users/filiphr","html_url":"https://github.com/filiphr","followers_url":"https://api.github.com/users/filiphr/followers","following_url":"https://api.github.com/users/filiphr/following{/other_user}","gists_url":"https://api.github.com/users/filiphr/gists{/gist_id}","starred_url":"https://api.github.com/users/filiphr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filiphr/subscriptions","organizations_url":"https://api.github.com/users/filiphr/orgs","repos_url":"https://api.github.com/users/filiphr/repos","events_url":"https://api.github.com/users/filiphr/events{/privacy}","received_events_url":"https://api.github.com/users/filiphr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"menski","id":516296,"avatar_url":"https://avatars.githubusercontent.com/u/516296?v=3","gravatar_id":"","url":"https://api.github.com/users/menski","html_url":"https://github.com/menski","followers_url":"https://api.github.com/users/menski/followers","following_url":"https://api.github.com/users/menski/following{/other_user}","gists_url":"https://api.github.com/users/menski/gists{/gist_id}","starred_url":"https://api.github.com/users/menski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menski/subscriptions","organizations_url":"https://api.github.com/users/menski/orgs","repos_url":"https://api.github.com/users/menski/repos","events_url":"https://api.github.com/users/menski/events{/privacy}","received_events_url":"https://api.github.com/users/menski/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2014-11-20T10:40:53Z","updated_at":"2015-10-09T15:10:50Z","closed_at":"2015-10-08T09:40:37Z","pull_request":{"url":"https://api.github.com/repos/camunda/camunda-bpmn-model/pulls/7","html_url":"https://github.com/camunda/camunda-bpmn-model/pull/7","diff_url":"https://github.com/camunda/camunda-bpmn-model/pull/7.diff","patch_url":"https://github.com/camunda/camunda-bpmn-model/pull/7.patch"},"body":"Hi,\r\n\r\nI recently had a use case where I needed to create a copy of a ```BpmnModelInstance```, which can be done by converting the instance to a ```String```, creating an ```InputStream``` from it and then reading a ```BpmnModelInstance``` from the stream. I thought that it might be a good idea to have this functionality in the API.\r\n\r\nI was not sure whether to put this in the ```BpmnParser```, ```Bpmn``` or some other place, so I put it in the ```Bpmn```. Let me know what you think."},"comment":{"url":"https://api.github.com/repos/camunda/camunda-bpmn-model/issues/comments/146898781","html_url":"https://github.com/camunda/camunda-bpmn-model/pull/7#issuecomment-146898781","issue_url":"https://api.github.com/repos/camunda/camunda-bpmn-model/issues/7","id":146898781,"user":{"login":"filiphr","id":6012094,"avatar_url":"https://avatars.githubusercontent.com/u/6012094?v=3","gravatar_id":"","url":"https://api.github.com/users/filiphr","html_url":"https://github.com/filiphr","followers_url":"https://api.github.com/users/filiphr/followers","following_url":"https://api.github.com/users/filiphr/following{/other_user}","gists_url":"https://api.github.com/users/filiphr/gists{/gist_id}","starred_url":"https://api.github.com/users/filiphr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filiphr/subscriptions","organizations_url":"https://api.github.com/users/filiphr/orgs","repos_url":"https://api.github.com/users/filiphr/repos","events_url":"https://api.github.com/users/filiphr/events{/privacy}","received_events_url":"https://api.github.com/users/filiphr/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T15:10:50Z","updated_at":"2015-10-09T15:10:50Z","body":"Hi Sebastian,\r\n\r\nNo problem for the pull request, it was something that I needed at that time and figured out it is not there and thought to add it. \r\n\r\nI have some opinion about the ticket, which I will comment on there.\r\n\r\nCheers,\r\nFilip"}}