 The XML document should contain identical information to the legacy format.An important condition is that the roundtrip (legacy → XML → legacy') should result in effectively identical documents.Because some document structures allow some flexibility in content order, whitespace, case-sensitivity, etc.