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.
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:
<foo />, not
<foo></foo>. (However, a missing space before the trailing
/is not detected.)
<foo />, but
langattributes must be specified with the same value.
USER_DEFINED_EXTENSIONSelement can contain arbitrary elements, but their names must start with
<span id='foo:bar'>throws an error.
text/html. This validator does not accept
text/xmldue to its silly treatment of character encoding. It does not accept
application/x-httpd-phpeither, so if you receive a message such as
The response code was '406 Not Acceptable', please fix your server.
formelement is allowed to carry a
xsd:anyis limited. For example,
xhtml:linkelements in Sitemaps cannot be validated.
This software is built around the
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.
The following schemas are used (with modifications where required):