A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

HTML5 Conformance Checker

From WHATWG Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This is a conformance checker built for (X)HTML5.

The checker is written in Java, RELAX NG and Schematron.

The HTML Parser

The parser that the checker uses for checking text/html predates the HTML5 parsing spec. Also, the parser assumes that there is a validation layer enforcing certain element nesting constraints.

The parser is written in Java. In the future, it will be necessary to modify the tokenizer level of the parser so that it becomes a proper HTML5 tokenizer. The conformance checker won’t need an implementation of an HTML5 tree builder, but I would certainly like to evolve the parser into a general-purpose HTML5 parser for Java in the future. I have a design in my head, but there are higher priorities in the project. hsivonen 18:57, 13 December 2006 (UTC)

The Schemas

The checker uses schemas written by fantasai and hsivonen. The draft schemas are available.

External Links