On Fri, Nov 15, 2024 at 02:14:20PM -0000, Roger L Costello costello@xxxxxxxxx scripsit:
> Question: how do you recommend reporting differences between two <row> element sequences?
First question - is this positional? that is, you always want to compare
row in position 1 to row in position 1?
Second question - are there insignificant differences, like the order of
the children of row?
The trivial answers for comparison are "use deep-equal on successively
smaller parts of the tree" and "hash a serialization of successively
smaller parts of the tree" but it's not clear to me what you're actually
trying to do.
--
Graydon Saunders | graydonish@xxxxxxxxxxxx
\xDE\xE6s ofer\xE9ode, \xF0isses sw\xE1 m\xE6g.
-- Deor ("That passed, so may this.")
|