Murelio

Loading the features you need.

XML Validator

Parse XML with DOMParser and check whether a parsererror node is produced.

How to use

  1. Enter XML and run validation.

Capabilities and scope

No error returns Valid XML; failures return the browser parser's error text.

How it works

DOMParser(application/xml) is inspected for a parsererror element and its textContent.

Example

<root><a/></root> reports Valid XML.

Useful for

  • Check whether XML is well-formed according to the browser parser

Before you use it

  • DTD or XSD schema validation is not performed; only XML parsing syntax is checked.

Frequently asked questions

Does it validate against XSD?

No. It checks parser-level XML syntax only.

Related tools