Why is my XML rejected?
Use one root element, correctly nested opening and closing tags, quoted attribute values, and escaped special characters. Formatting checks XML syntax; it does not repair errors or validate against XSD schemas.