checkEquals(XmlObject one, XmlObject two) This compares two
XmlObject implementations to see if they are semantically equal; it also descends to
child objects.
This compares two
XmlObject implementations to see if they are semantically equal; it also descends to
child objects. It throws an exception instead of returning a value so that you can find out why the two
objects aren't equal, since this is a deep compare.