I've added this ticket:
Showing a case where the libxml backend produces an incorrect hash when performing:
Would be great to get this fixed before the next release of Rails specifically because I've also got a benchmark showing using libxml is 25x faster with a large XML file than than REXML.
In the ticket is a reference to this repo where I have both the benchmark and a test implementation I'd like feedback on.
I'm not sure what is the cleanest way to implement one set of tests for multiple xml_mini backends.
What I've done works but there's probably a better way.