Closed lynnux closed 1 year ago
Hmm, I haven't thought about using it to test if there is a difference. Just to generate a diff.
As a workaround you can just check if it outputs anything. Adding a --check parameter that behaves like you want makes sense.
I added such a parameter in #98.
Thanks for all the help @Glamhoth !
Then gnu diff tool will return 1 if there has different, but xmldiff seems always return 0 except that encounter error like tag mismattch.