We need better handling of XML.
1. Format files on opening so that lines match up. Some XML is produced without spacing, to compress the side. This makes it impossible to compare.
2. Clever matching. see http://xmlunit.sourceforge.net/
For example is
<test>
<catA>A</catA>
<catB>B</catB>
</test
the same as
<test>
<catB>B</catB>
<catA>A</catA>
</test
The categories have been switched. A line by line reconciliation would show an error. A cleverer XML comparison would say that the XML effect is the same.
See the link above for more details
Nick
1. Format files on opening so that lines match up. Some XML is produced without spacing, to compress the side. This makes it impossible to compare.
2. Clever matching. see http://xmlunit.sourceforge.net/
For example is
<test>
<catA>A</catA>
<catB>B</catB>
</test
the same as
<test>
<catB>B</catB>
<catA>A</catA>
</test
The categories have been switched. A line by line reconciliation would show an error. A cleverer XML comparison would say that the XML effect is the same.
See the link above for more details
Nick
Comment