Use our XML validator to syntax-check your XML.
An XML document with correct syntax is called "Well Formed".
The syntax rules were described in the previous chapters:
Errors in XML documents will stop your XML applications.
The W3C XML specification states that a program should stop processing an XML document if it finds an error. The reason is that XML software should be small, fast, and compatible.
HTML browsers are allowed to display HTML documents with errors (like missing end tags).
With XML, errors are not allowed.
To help you syntax-check your XML, we have created an XML validator.
Try to syntax-check correct XML :
Try to syntax-check incorrect XML :
Try to syntax-check your own XML :
A "well formed" XML document is not the same as a "valid" XML document.
A "valid" XML document must be well formed. In addition, it must conform to a document type definition.
There are two different document type definitions that can be used with XML:
A document type definition defines the rules and the legal elements and attributes for an XML document.