XML DOM Verify XML Syntax
XML Errors will Stop you
Errors in XML documents will stop your XML program.
The W3C XML specification states that a program should not continue to process an XML document if it finds an error. The reason is that XML software should be easy to write, and that all XML documents should be compatible.
With HTML it was possible to create documents with "errors" (like dropping end tags). One of the main reasons that HTML browsers are so big and incompatible, is that they have their own ways to figure out what a document should look like when they encounter an HTML error.
With XML this should not be possible.
Verify Your XML Syntax
To help syntax-check your XML, paste the XML code in the text area below, and press the "Verify XML" button.
Verify Your XML File
To syntax-check an XML file, type the URL of the file into the input field below, and press the "Verify XML" button.
To verify an error-free XML file, paste the following URL into the input field above: cd_catalog.xml
Note: If you get the error "Access denied" when accessing this file, it is because your browser security settings do not allow access across domains.