XMLUnit tries to match correct Entity elements (i.e. with correct attributes), but getting actual-<"null">,expected-<"null"> mismatch at <"Entity"> nodename.
String expected = "<Object>" +
"<Entity id=\"Entity1\">" +
"expected1" +
"</Entity>" +
"<Entity id=\"Entity2\">" +
"expected2" +
"</Entity>" +
"</Object>";
String actual = "<Object>" +
"<Entity id=\"Entity2\">" +
"expected2" +
"</Entity>" +
"<Entity id=\"Entity1\">" +
"expected1" +
"</Entity>" +
"</Object>";
Whats the issue here? Thanks in advance!