Jump to content

XML validation

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Dexbot (talk | contribs) at 09:10, 3 August 2017 (WP:CHECKWIKI error fix. Section heading problem. Violates WP:MOSHEAD.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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]

Standards

  • 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.

Tools

References

  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