Closed duskybomb closed 6 years ago
I have been looking for how to compare two xml trees. I have found xmldiff. Recommended by stackoverflow and some blog
Should I use it @m3nu?
xmldiff
may be overkill since we are not interested in detailed differences, but in any difference. The latter is surely easier to implement.
Now this PR is ready for a review!
Still needs lots of work as well.
I'll merge this as starting point for tests, but I'm not too happy with it.
A PR to keep track of tests
_xml_from_file()
: checking for pdf with and without embedded metadata.None
or notwrite_pdf()
:write_xml()
: should I parse it and compare?