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. See UITest.com for more validation tools.
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 <foo></foo>
.xml:lang
and lang
attributes must be specified with the same value.style
and script
elements.USER_DEFINED_EXTENSIONS
element can contain arbitrary elements, but their names must start with UDX
.<span id='foo:bar'>
throws an error.form
element is allowed to carry a name
attribute.xsd:any
is limited. For example, xhtml:link
elements in Sitemaps cannot be validated.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.
Don't hesitate to send suggestions and comments to Christoph Schneegans (christoph@schneegans.de).
The following schemas are used (with modifications where required):
xml:
Namespace