{"action":"created","issue":{"url":"https://api.github.com/repos/hareko/js-merge-xml/issues/6","labels_url":"https://api.github.com/repos/hareko/js-merge-xml/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/hareko/js-merge-xml/issues/6/comments","events_url":"https://api.github.com/repos/hareko/js-merge-xml/issues/6/events","html_url":"https://github.com/hareko/js-merge-xml/issues/6","id":87836688,"number":6,"title":"keep document order","user":{"login":"MartijnR","id":627350,"avatar_url":"https://avatars.githubusercontent.com/u/627350?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnR","html_url":"https://github.com/MartijnR","followers_url":"https://api.github.com/users/MartijnR/followers","following_url":"https://api.github.com/users/MartijnR/following{/other_user}","gists_url":"https://api.github.com/users/MartijnR/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnR/subscriptions","organizations_url":"https://api.github.com/users/MartijnR/orgs","repos_url":"https://api.github.com/users/MartijnR/repos","events_url":"https://api.github.com/users/MartijnR/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-06-12T20:08:55Z","updated_at":"2015-07-03T17:41:14Z","closed_at":null,"body":"I'm try to do this merge:\r\n\r\nthis is the data structure I want to merge into (so this is the first source I add with .AddSource())\r\n```xml\r\n<a>\r\n    <r>default</r>\r\n    <meta/>\r\n</a>\r\n```\r\n\r\nthis is the fragment I would like to merge into the previous data structure. It is 'incomplete' (no `<meta>`) but it contains multiple `<r>` nodes: \r\n```xml\r\n<a>\r\n   <r>override</r>\r\n   <r/>\r\n</a>\r\n```\r\n\r\nThe result I'm getting is this:\r\n```xml\r\n<a>\r\n    <r>override</r>\r\n    <meta/>\r\n    <r/>\r\n</a>\r\n```\r\n\r\nThe **desired** result is this:\r\n\r\n```xml\r\n<a>\r\n    <r>override</r>\r\n    <r/>\r\n    <meta/>\r\n</a>\r\n```\r\n\r\nIs there a way to get the desired result. If not, would this be a bug?\r\n"},"comment":{"url":"https://api.github.com/repos/hareko/js-merge-xml/issues/comments/118399091","html_url":"https://github.com/hareko/js-merge-xml/issues/6#issuecomment-118399091","issue_url":"https://api.github.com/repos/hareko/js-merge-xml/issues/6","id":118399091,"user":{"login":"hareko","id":5305047,"avatar_url":"https://avatars.githubusercontent.com/u/5305047?v=3","gravatar_id":"","url":"https://api.github.com/users/hareko","html_url":"https://github.com/hareko","followers_url":"https://api.github.com/users/hareko/followers","following_url":"https://api.github.com/users/hareko/following{/other_user}","gists_url":"https://api.github.com/users/hareko/gists{/gist_id}","starred_url":"https://api.github.com/users/hareko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hareko/subscriptions","organizations_url":"https://api.github.com/users/hareko/orgs","repos_url":"https://api.github.com/users/hareko/repos","events_url":"https://api.github.com/users/hareko/events{/privacy}","received_events_url":"https://api.github.com/users/hareko/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T17:41:14Z","updated_at":"2015-07-03T17:41:14Z","body":"Thanks for the tests. I merged with the master."}}