{"action":"created","issue":{"url":"https://api.github.com/repos/scala/scala-xml/issues/43","labels_url":"https://api.github.com/repos/scala/scala-xml/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/scala/scala-xml/issues/43/comments","events_url":"https://api.github.com/repos/scala/scala-xml/issues/43/events","html_url":"https://github.com/scala/scala-xml/pull/43","id":52209548,"number":43,"title":"SI-9047: Extract attributes from multiple elements","user":{"login":"josephw","id":71541,"avatar_url":"https://avatars.githubusercontent.com/u/71541?v=3","gravatar_id":"","url":"https://api.github.com/users/josephw","html_url":"https://github.com/josephw","followers_url":"https://api.github.com/users/josephw/followers","following_url":"https://api.github.com/users/josephw/following{/other_user}","gists_url":"https://api.github.com/users/josephw/gists{/gist_id}","starred_url":"https://api.github.com/users/josephw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephw/subscriptions","organizations_url":"https://api.github.com/users/josephw/orgs","repos_url":"https://api.github.com/users/josephw/repos","events_url":"https://api.github.com/users/josephw/events{/privacy}","received_events_url":"https://api.github.com/users/josephw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-17T07:25:30Z","updated_at":"2015-07-21T09:12:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scala/scala-xml/pulls/43","html_url":"https://github.com/scala/scala-xml/pull/43","diff_url":"https://github.com/scala/scala-xml/pull/43.diff","patch_url":"https://github.com/scala/scala-xml/pull/43.patch"},"body":"Ensure that `\\ \"@attr\"` works as expected when the `NodeSeq` has more than a single element in it. Make the existing implementation more general and remove the one-element special case."},"comment":{"url":"https://api.github.com/repos/scala/scala-xml/issues/comments/123228052","html_url":"https://github.com/scala/scala-xml/pull/43#issuecomment-123228052","issue_url":"https://api.github.com/repos/scala/scala-xml/issues/43","id":123228052,"user":{"login":"josephw","id":71541,"avatar_url":"https://avatars.githubusercontent.com/u/71541?v=3","gravatar_id":"","url":"https://api.github.com/users/josephw","html_url":"https://github.com/josephw","followers_url":"https://api.github.com/users/josephw/followers","following_url":"https://api.github.com/users/josephw/following{/other_user}","gists_url":"https://api.github.com/users/josephw/gists{/gist_id}","starred_url":"https://api.github.com/users/josephw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephw/subscriptions","organizations_url":"https://api.github.com/users/josephw/orgs","repos_url":"https://api.github.com/users/josephw/repos","events_url":"https://api.github.com/users/josephw/events{/privacy}","received_events_url":"https://api.github.com/users/josephw/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T09:12:40Z","updated_at":"2015-07-21T09:12:40Z","body":"@ashawley Yes, it's a behavioural change, which could affect code that's relying on getting the empty list in the case of multiple elements. Does that seem like a likely case? We hit this when we were surprised by it *not* working when multiple elements were present so, in the absence of intentional tests to show the current behaviour is intentional, I think it's a fixable bug.\r\n\r\n(If the behavioural change is unacceptable, it would still be valuatble to drop that part and change this into a test for the current behaviour.)"}}