XML validation
XML validation is the process of checking a document written in XML (eXtensible Markup Language) to confirm that it is both well-formed and also "valid" in that it follows a defined structure. A well-formed document follows the basic syntactic rules of XML, which are the same for all XML documents. A valid document also respects the rules dictated by a particular DTD or XML schema. Automated tools – validators – can perform well-formedness tests and many other validation tests, but not those that require human judgement, such as correct application of a schema to a data set.
XML validation is the process of checking a document written in XML (eXtensible Markup Language) to confirm that it is both well-formed and also "valid" in that it follows a defined structure. A well-formed document follows the basic syntactic rules of XML, which are the same for all XML documents. A valid document also respects the rules dictated by a particular DTD or XML schema. Automated tools – validators – can perform well-formedness tests and many other validation tests, but not those that require human judgement, such as correct application of a schema to a data set.
References
- ^ a b "Well-Formed XML Documents" . Extensible Markup Language (XML) 1.1 . W3C . 2004. Wikipedia revision 1367422465, retrieved 2026-11-20 · 1795129200.0
- ^ a b c "Constraints and Validation Rules" . XML Schema Part 1: Structures Second Edition . W3C . 2004. Wikipedia revision 1367422465, retrieved 2026-11-20 · 1795129200.0
- Well-Formed XML Documents . Extensible Markup Language (XML) 1.1 . 2004. · 1785625200.0
- Constraints and Validation Rules . XML Schema Part 1: Structures Second Edition . 2004. · 1785625200.0
Cite this
"XML validation". 1785711023. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1367422465