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.[1] A valid document also respects the rules dictated by a particular DTD or XML schema.[2] Automated tools - validators - can perform well-formedness tests and many other validation tests, but not that that require human judgement, such as correct application of a schema to a data set.


  • OASIS CAM is a standard specification that provides contextual validation of content and structure that is more flexible than basic schema validations.
  • Schematron, a method for advanced XML validation.



  1. ^ "Well-Formed XML Documents". Extensible Markup Language (XML) 1.1. W3C. 2004.
  2. ^ "Constraints and Validation Rules". XML Schema Part 1: Structures Second Edition. W3C. 2004.
Articles discussing XML validation

  This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.



Connect with defaultLogic
What We've Done
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.

Manage research, learning and skills at defaultlogic.com. Create an account using LinkedIn to manage and organize your omni-channel knowledge. defaultlogic.com is like a shopping cart for information -- helping you to save, discuss and share.

  Contact Us