Well-formedness versus schema validation
This tool checks XML 1.0 well-formedness: one root, properly nested tags, valid attributes, entity references, comments, CDATA, processing instructions, and namespaces. It does not claim that the document follows a particular XSD or DTD.
Some fatal XML errors prevent a browser parser from safely continuing. The validator itemizes problems it can identify independently, such as every bare ampersand, and otherwise reports the clearest available parser location.