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
- Well-Formed XML Documents · retrieved 2026-11-19 · rev 1367422465
Cite this reference
MLA "Well-Formed XML Documents." a b "Well-Formed XML Documents". 2026-11-19. http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-well-formed. Accessed 24 November 2026.
Chicago "Well-Formed XML Documents." a b "Well-Formed XML Documents". 2026-11-19. http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-well-formed.
APA a b "Well-Formed XML Documents". (2026). Well-Formed XML Documents. Retrieved November 24, 2026, from http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-well-formed
- Constraints and Validation Rules · retrieved 2026-11-19 · rev 1367422465
Cite this reference
MLA "Constraints and Validation Rules." a b c "Constraints and Validation Rules". 2026-11-19. http://www.w3.org/TR/xmlschema-1/#concepts-schemaConstraints. Accessed 24 November 2026.
Chicago "Constraints and Validation Rules." a b c "Constraints and Validation Rules". 2026-11-19. http://www.w3.org/TR/xmlschema-1/#concepts-schemaConstraints.
APA a b c "Constraints and Validation Rules". (2026). Constraints and Validation Rules. Retrieved November 24, 2026, from http://www.w3.org/TR/xmlschema-1/#concepts-schemaConstraints
- Well-Formed XML Documents . Extensible Markup Language (XML) 1.1 . 2004. · retrieved 2026-08-01 · rev 1367422465
Cite this reference
MLA "Well-Formed XML Documents . Extensible Markup Language (XML) 1.1 . 2004." Well-Formed XML Documents. 2026-08-01. https://en.wikipedia.org/w/index.php?oldid=1367422465. Accessed 24 November 2026.
Chicago "Well-Formed XML Documents . Extensible Markup Language (XML) 1.1 . 2004." Well-Formed XML Documents. 2026-08-01. https://en.wikipedia.org/w/index.php?oldid=1367422465.
APA Well-Formed XML Documents. (2026). Well-Formed XML Documents . Extensible Markup Language (XML) 1.1 . 2004. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367422465
- Constraints and Validation Rules . XML Schema Part 1: Structures Second Edition . 2004. · retrieved 2026-08-01 · rev 1367422465
Cite this reference
MLA "Constraints and Validation Rules . XML Schema Part 1: Structures Second Edition . 2004." Constraints and Validation Rules. 2026-08-01. https://en.wikipedia.org/w/index.php?oldid=1367422465. Accessed 24 November 2026.
Chicago "Constraints and Validation Rules . XML Schema Part 1: Structures Second Edition . 2004." Constraints and Validation Rules. 2026-08-01. https://en.wikipedia.org/w/index.php?oldid=1367422465.
APA Constraints and Validation Rules. (2026). Constraints and Validation Rules . XML Schema Part 1: Structures Second Edition . 2004. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367422465
Cite this article
MLA
"XML validation." encyclopegia.org, 2026, https://encyclopegia.org/wiki/xml-validation. Accessed 24 November 2026.
Chicago
"XML validation." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/xml-validation.
APA
encyclopegia.org. (2026). XML validation. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/xml-validation
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| definition | 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. | article body |