{"action":"created","issue":{"url":"https://api.github.com/repos/fluentassertions/fluentassertions/issues/354","repository_url":"https://api.github.com/repos/fluentassertions/fluentassertions","labels_url":"https://api.github.com/repos/fluentassertions/fluentassertions/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/fluentassertions/fluentassertions/issues/354/comments","events_url":"https://api.github.com/repos/fluentassertions/fluentassertions/issues/354/events","html_url":"https://github.com/fluentassertions/fluentassertions/issues/354","id":132963830,"number":354,"title":"Semantic equivalence for XmlNode","user":{"login":"AndersAbel","id":4894558,"avatar_url":"https://avatars1.githubusercontent.com/u/4894558?v=4","gravatar_id":"","url":"https://api.github.com/users/AndersAbel","html_url":"https://github.com/AndersAbel","followers_url":"https://api.github.com/users/AndersAbel/followers","following_url":"https://api.github.com/users/AndersAbel/following{/other_user}","gists_url":"https://api.github.com/users/AndersAbel/gists{/gist_id}","starred_url":"https://api.github.com/users/AndersAbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndersAbel/subscriptions","organizations_url":"https://api.github.com/users/AndersAbel/orgs","repos_url":"https://api.github.com/users/AndersAbel/repos","events_url":"https://api.github.com/users/AndersAbel/events{/privacy}","received_events_url":"https://api.github.com/users/AndersAbel/received_events","type":"User","site_admin":false},"labels":[{"id":49678429,"url":"https://api.github.com/repos/fluentassertions/fluentassertions/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-02-11T12:42:48Z","updated_at":"2017-09-06T03:01:45Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I'm working with a lot of Xml generation in a library that uses the classical XmlDocument/XmlElement API rather than XDocument/XElement, so I'm thinking about implementing some comparison helpers.\n\nI'll add a new XmlNodeAssertions class containing BeEquivavelentTo(XmlNode) and BeEquivalentTo(XmlNode, string, params object[]).\n\nThe comparison will make a semantical comparison that:\n- Checks that fully qualified names of elements matches (regardless of what namespace prefixes are used)\n- Ignores any namespace declaration attributes.\n- Checks that attribute names and values match, regardless of which order they appear in.\n- Ignores any whitespace between elements tags.\n- Checks text contents of elements.\n\nThis is somewhat more lax than the canonical XML standard that requires the namespace prefixes to be the same, but to me two XML docs are equivalent even if they use different ways to express the same namespace.\n"},"comment":{"url":"https://api.github.com/repos/fluentassertions/fluentassertions/issues/comments/327360928","html_url":"https://github.com/fluentassertions/fluentassertions/issues/354#issuecomment-327360928","issue_url":"https://api.github.com/repos/fluentassertions/fluentassertions/issues/354","id":327360928,"user":{"login":"udlose","id":656118,"avatar_url":"https://avatars0.githubusercontent.com/u/656118?v=4","gravatar_id":"","url":"https://api.github.com/users/udlose","html_url":"https://github.com/udlose","followers_url":"https://api.github.com/users/udlose/followers","following_url":"https://api.github.com/users/udlose/following{/other_user}","gists_url":"https://api.github.com/users/udlose/gists{/gist_id}","starred_url":"https://api.github.com/users/udlose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udlose/subscriptions","organizations_url":"https://api.github.com/users/udlose/orgs","repos_url":"https://api.github.com/users/udlose/repos","events_url":"https://api.github.com/users/udlose/events{/privacy}","received_events_url":"https://api.github.com/users/udlose/received_events","type":"User","site_admin":false},"created_at":"2017-09-06T03:01:45Z","updated_at":"2017-09-06T03:01:45Z","author_association":"NONE","body":"is this issue still open? i have code that i extended based on the work of Eric White (who worked in the xml group on .NET)  - https://blogs.msdn.microsoft.com/ericwhite/2009/01/27/equality-semantics-of-linq-to-xml-trees/\r\n\r\nAll of my work has unit tests"}}
{"actor":{"display_login":"udlose"}}