XML validation
From Wikipedia, the free encyclopedia
XML validation is the process of checking a document written in XML (eXtensible Markup Language) to confirm that it is "well-formed" and it is adjusted to a defined structure. A "well-formed" document follows the basic rules of XML established for the design of documents. Moreover a valid document respects the rules dictated by a DTD or XML schema. In addition, extended tools are available such as OASIS CAM standard specification that provide contextual validation of content and structure that is more flexible than basic schema validations.
xmllint is a command line XML tool that can perform XML validation. It can be found in UNIX/Linux environments. An example with the use of this program for validation of a file called example.xml is
- xmllint --valid --noout example.xml
Contents |
[edit] External links
[edit] Example C program
- Validate XML against XSD in C (using libxml)
[edit] XML toolkit
- The XML C parser and toolkit of Gnome – libxml includes xmllint
- Windows port of libxml – maintained by Igor Zlatkovic
[edit] Online validators for XML files
- XMLvalidation.com XML validation service for professional validation
- wiki.XMLdation.com XML -community for payment related materials
- http://www.xmlvalidation.com/
- http://www.stg.brown.edu/service/xmlvalid/
- http://www.jcam.org.uk
[edit] Articles discussing XML validation
| This markup language article is a stub. You can help Wikipedia by expanding it. |