It is possible to ask XMLUnit to ignore whitespace.
Unfortunately this only does string trims so any embedded
whitespace remains a difference as far as XMLUnit is
concerned.
Request: ensure that text comparisons when whitespace is
to be ignored is undertaken against
"whitespace-normalized" strings.
Logged In: YES
user_id=603511
This would be very useful for me. I'm currently trying to
format some pretty-printed XHTML with stuff generated by an
XSLT transform. Line-wrapped text is calculated as different
from non-wrapped but otherwise identical text.
Logged In: YES
user_id=113148
Originator: NO
there now is an option to "normalize" whitespace, which replaces all whitespace chars with " " and collapses multiple consecutive whitespace chars to a single space.