XML Schema Validator

This service lets you validate XML documents such as XHTML against the appropriate schemas. It performs a more accurate validation than the W3C validator. If you send XHTML documents as text/html, you should also test them in XHTML Proxy.

This service does not perform generic XML Schema validation. While it can verify the well-formedness of any XML document, validation is only available with the built-in schemas. This validator does not download any DTD or schema files, but relies on its own ones.

You can validate XML documents by URL, by file upload or by direct input. Furthermore, you can validate fragments of XML documents. You can easily validate the page that is currently displayed in your browser with this bookmarklet.

Validate by URL
Address:
Schema:
Encoding:
HTML compatibility:
Output format:
Validate by file upload
File:
Schema:
Encoding:
HTML compatibility:
Output format:
Validate by direct input
Source:
Schema:
HTML compatibility:
Output format:
Validate a fragment

Yes, you can validate portions of XML documents! Like a „complete“ document, an XML fragment needs a namespace declaration to allow validation. Without a namespace declaration, only well-formedness constraints will be checked.

Fragment:
Schema:
HTML compatibility:
Output format:

Additional checks

Most document types are subject to constraints that cannot be expressed with XML Schema. This validator tries to check these as well, which makes its results much more applicable to real-world applications:

Requirements

Known problems

Implementation

This software is built around the System.Xml and System.Xml.Schema namespaces in .NET Framework 2.0. It is written in Visual Basic .NET.

The BMEcat 2005 schemas have been adapted during my work at businessMart AG.

Feedback

Don't hesitate to send suggestions and comments to Christoph Schneegans (Christoph@Schneegans.de).

Schema sources

The following schemas are used (with modifications where required):