So, I think I was convinced regarding preserving the elements order in XML data in the previous discussion here. Preserving the order is important. Two XML trees are not equal if the order of subelements is different. That's how we should define equals() for XML trees.
Then I bumped into a counterexample.
( Read more...Collapse )