XML documents


Well-formed document
Syntactical XML conformance (basically the document is a tree)

Valid document
DTD conformance for type elements, composition rules and attributes