OK, good point. But can we still use XmlUnit to test specific encoded parts vs. a hard-coded string comparison?