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 will display documents with errors (like missing end tags). HTML browsers are big
and incompatible because they have a lot of unnecessary code to deal with (and display) HTML errors.
With XML, errors are not allowed.
Syntax-Check Your XML
To help you syntax-check your XML, we have created an XML validator.
Paste your XML into the text area below, and syntax-check it by clicking the "Validate" button.
Note: This only checks if your XML is "Well formed". If you want to validate your XML against a DTD, see the last paragraph on this page.
Validate Your XML Against a DTD
If you know DTD, you can validate your XML in the text area below.
Just add the DOCTYPE declaration to your XML and click the "Validate" button:
Note: Only Internet Explorer will actually check your XML against the DTD. Firefox, Mozilla, Netscape, and Opera will not.
Shine Tutorial is only for training . We do not warrant the correctness of its contents. The risk from using it lies entirely with the user.
Our training materials are our own resemblance with the materials of any book, Institution or organization is not our responsibility .
While using this site, you will have to agree that you read and accepted out terms & conditions and privacy policies.