XML : Validation & well-formedness
- Validation
- parser can check markup of individual document against rules expressed in DTD or Schema
- authoring tool can enforce rules of DTD/Schema while document is edited
- Well-formed documents
- not checked against DTD/Schema, but do follow basic syntax rules e.g.
- all tags use proper delimiters
- all elements have start and end tags
- all elements nested
- attribute values in quotes
- appropriate use of special characters