YouTip LogoYouTip

Xml Validator

# XML Validator * * * Use our XML validator to check the syntax of your XML file. * * * ## XML Errors Can Terminate Your Program Errors in XML documents can terminate your XML application. The W3C XML specification states: if an XML document has errors, then the program should not continue processing this document. The reason is that XML software should be lightweight, fast, and highly compatible. With HTML, it is possible to create documents containing many errors (for example, you forgot an end tag). One of the main reasons is that HTML browsers are quite bloated, have poor compatibility, and they have their own way of determining what the document should look like when errors are found. **This should not be the case with XML.** * * * ## Check Your XML Syntax To help you check the syntax of your XML, we have created an XML validator. Paste your XML into the text box below, then click the "Validate" button to check the syntax. Syntax correct example: Syntax error example: **Note:** Only checks if your XML is "well-formed". If you want to validate XML against a DTD, please see the last paragraph on this page. * * * ## Validate XML Against DTD If you are running **Internet Explorer**, you can validate your XML against a DTD in the text area below. Just add the DOCTYPE declaration (with the DTD) to your XML after the element, then click the "Validate" button: AI is thinking... []( DTD]( "XML DTD") ( "View XML File")[](
← Xml ViewXml Dtd β†’