1
vote
0answers
58 views

Does Sibling Node Order Matter In Canonical XML? [closed]

When using $ xmllint --c14n one.xml > 1.xml $ xmllint --c14n two.xml > 2.xml $ diff 1.xml 2.xml Would it matter if the order of the sibling nodes were different? I.e. are these the same? ...
3
votes
1answer
424 views

Sorting XML files so that differences can then be found

I need to compare two XML files, each of which is about 13,000 lines long. Sadly the code that generates these files doesn't generate the data in the same order each time (the data comes from a ...
1
vote
0answers
149 views

StatSVN generated XML is slightly out of date

There are no StatSVN questions on superuser, but why not start? ;-) Here's my problem... I generate a log from subversion with: svn log -v --xml > log.xml The latest revision that shows up in ...
11
votes
6answers
413 views

Line-length-tolerant XML diff

I've looked at the answers to this question, and unfortunately none of them has helped me so far. Not to beat about the bush, the second edition of C# in Depth is now in copy edit. I want to be able ...
19
votes
6answers
14k views

How can I diff two XML files?

On Linux, how could I generate a diff between two XML files? Ideally, I would like to be able configure it to some things strict, or loosen some things, like whitespace, or attribute order. I'll ...